mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
Added test case for bug #24208
This commit is contained in:
parent
2f4e91bf8a
commit
a3873c986b
1 changed files with 12 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue