summaryrefslogtreecommitdiff
path: root/Zend/tests/vm_stack_with_arg_extend.phpt
blob: 10f3639d21f5e579ba8d06d7a303967611cff2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--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)