summaryrefslogtreecommitdiff
path: root/Zend/tests/parse_str_with_unpack.phpt
blob: 50b296d71029220ef5c2740d61a43f76f060bc81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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)