#24208 [Opn]: parse_str() doesn't work anymore
| From: | moriyoshi@php.net | Date: | Mon, 16 Jun 2003 19:06:30 +0000 |
| Subject: | #24208 [Opn]: parse_str() doesn't work anymore | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42073@lists.php.net to get a copy of this message | ||
ID: 24208
User updated by: moriyoshi@php.net
Reported By: moriyoshi@php.net
Status: Open
Bug Type: Variables related
Operating System: any
PHP Version: 4CVS-2003-06-16 (stable)
New Comment:
This problem seems to occur only with the cli version.
Previous Comments:
------------------------------------------------------------------------
[2003-06-16 14:01:25] moriyoshi@php.net
Description:
------------
Related to bug #24007
<?php
parse_str("a=1&b=2&c=3");
var_dump($a, $b, $c);
?>
--EXPECT--
string(1) "1"
string(1) "2"
string(1) "3"
Reproduce code:
---------------
<?php
parse_str("a=1&b=2&c=3");
var_dump($a, $b, $c);
?>
Expected result:
----------------
string(1) "1"
string(1) "2"
string(1) "3"
Actual result:
--------------
NULL
NULL
NULL
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24208&edit=1