mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
7adc0ae631
Fixes also a segfault on stack frames > 1 << 18 bytes Stack frames, when reallocated, need to be marked as top frame of current stack page
18 lines
244 B
PHP
18 lines
244 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--
|
|
1024
|