PHP 4.0 Bug #6997: parse_str

From: Date: Tue, 03 Oct 2000 21:36:31 +0000
Subject: PHP 4.0 Bug #6997: parse_str
Groups: php.dev 
Request: Send a blank email to php-dev+get-34141@lists.php.net to get a copy of this message
From: sgarner@gameplanet.co.nz Operating system: Linux PHP version: 4.0.2 PHP Bug Type: Documentation problem Bug description: parse_str Using the second argument (arr) doesn't seem to work. No elements will be inserted into the array by parse_str, and variables will still be created in the current scope. Example: <?php $querystring = "foo=bar&bar=foo"; parse_str($querystring, $a); var_dump($a); ?> Will output "NULL", and: <?php var_dump($foo); ?> ...will output "bar".

« previous php.dev (#34141) next »