mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Added test case for bug #24208
This commit is contained in:
parent
2f4e91bf8a
commit
a3873c986b
12
ext/standard/tests/strings/bug24208.phpt
Normal file
12
ext/standard/tests/strings/bug24208.phpt
Normal file
@ -0,0 +1,12 @@
|
||||
--TEST--
|
||||
Bug #24208 (parse_str() is not working)
|
||||
--FILE--
|
||||
<?php
|
||||
$a = $b = $c = "oops";
|
||||
parse_str("a=1&b=2&c=3");
|
||||
var_dump($a, $b, $c);
|
||||
?>
|
||||
--EXPECT--
|
||||
string(1) "1"
|
||||
string(1) "2"
|
||||
string(1) "3"
|
Loading…
Reference in New Issue
Block a user