mb_parse_str
(PHP 4 >= 4.0.6, PHP 5)
mb_parse_str — Parse GET/POST/COOKIE data and set global variable
说明
bool mb_parse_str
( string
$encoded_string
[, array &$result
] )
Parses GET/POST/COOKIE data and
sets global variables. Since PHP does not provide raw POST/COOKIE
data, it can only be used for GET data for now. It parses URL
encoded data, detects encoding, converts coding to internal
encoding and set values to the result array or
global variables.
参数
-
encoded_string -
The URL encoded data.
-
result -
An array containing decoded and character encoded converted values.
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE.
参见
- mb_detect_order() - Set/Get character encoding detection order
- mb_internal_encoding() - Set/Get internal character encoding
There are no user contributed notes for this page.
