mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
15 lines
183 B
PHP
15 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)
|