dis-bench / src /php /php-src /Zend /tests /constexpr /new_arg_unpack.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
171 Bytes
--TEST--
Argument unpacking in new arguments in static variable
--FILE--
<?php
static $x = new stdClass(...[0]);
var_dump($x);
?>
--EXPECT--
object(stdClass)#1 (0) {
}