The array to be populated does not need to be defined before calling the function:
<?php
error_reporting(E_ALL | E_STRICT);
parse_str('var=value', $array);
?>
This will not produce a notice.
The array to be populated does not need to be defined before calling the function:
<?php
error_reporting(E_ALL | E_STRICT);
parse_str('var=value', $array);
?>
This will not produce a notice.