PARSE_STR
Parses the string into variables
SYNTAX
parse_str ( string $encoded_string [, array &$result ] ) : void
PARAMETERS
encoded_string
The input string.
result
If the second parameter result is present, variables are stored in this variable as array elements instead.
Warning: Using this function without the result parameter is highly DISCOURAGED and DEPRECATED as of PHP 7.2. Dynamically setting variables in function's scope suffers from exactly same problems as register_globals. Read section on security of Using Register Globals explaining why it is dangerous.
RETURN
No value is returned.
EXAMPLES
1
value1
value2 value3
value4
2
something