1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/standard/tests/strings/bug24208.phpt
2017-02-03 18:52:57 +01:00

14 lines
296 B
PHP

--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);
?>
--EXPECTF--
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in %s on line %d
string(1) "1"
string(1) "2"
string(1) "3"