Function

parse_str

Synopsis

parse_str(string, &$ref): void

Area
Runtime\PS\Core\Encoding\parse_strareas

Description

parse_str decodes the query string $string into $result, reading PHP's bracket syntax so a[b]=1 arrives as a nested array; it inverts http_build_query and is the decoder behind $_GET and $_POST.

Usage

$value = parse_str($arguments);
$fn = parse_str(...);

See also