1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/Zend/tests/constexpr/new_arg_unpack.phpt
2023-05-24 20:17:31 +02:00

14 lines
171 B
PHP

--TEST--
Argument unpacking in new arguments in static variable
--FILE--
<?php
static $x = new stdClass(...[0]);
var_dump($x);
?>
--EXPECT--
object(stdClass)#1 (0) {
}