mirror of
https://github.com/php/php-src.git
synced 2024-09-29 22:06:09 +00:00
16 lines
183 B
PHP
16 lines
183 B
PHP
--TEST--
|
|
Calling parse_str through argument unpacking
|
|
--FILE--
|
|
<?php
|
|
|
|
function test() {
|
|
$i = 0;
|
|
parse_str(...["i=41"]);
|
|
var_dump($i + 1);
|
|
}
|
|
test();
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(42)
|