mb_parse_str

Parse GET/POST/COOKIE data and set global variable

&reftitle.description; `bool` `mb_parse_str` `string` `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.

&reftitle.parameters;

`string`

- The URL encoded data.

`result`

- An `array` containing decoded and character encoded converted values.

&reftitle.returnvalues;

&return.success;

&reftitle.changelog;

&Version; | &Description;
8.0.0 | The second parameter was no longer optional.
7.2.0 | Calling `mb_parse_str` without the second parameter was deprecated.

&reftitle.seealso;

- `mb_detect_order`
- `mb_internal_encoding`