mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
18 lines
249 B
PHP
18 lines
249 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)
|