©
This document uses PHP Chinese website manual Release
(PECL pecl_http >= 1.0.0)
http_request_body_encode — Encode request body
$fields
, array $files
)Generate x-www-form-urlencoded resp. form-data encoded request body.
fields
POST fields
files
POST files
Returns encoded string on success 或者在失败时返回 FALSE
.