mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
18 lines
261 B
PHP
18 lines
261 B
PHP
--TEST--
|
|
Ensure valid vm_stack even when it needed to be copied to a new page
|
|
--FILE--
|
|
<?php
|
|
|
|
function f(...$args) {
|
|
var_dump(count($args));
|
|
}
|
|
(function(){
|
|
$a = array_fill(0, 1024, true);
|
|
f(...$a);
|
|
yield;
|
|
})()->valid();
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(1024)
|