1--TEST--
2Ensure valid vm_stack even when it needed to be copied to a new page
3--FILE--
4<?php
5
6function f(...$args) {
7	var_dump(count($args));
8}
9(function(){
10	$a = array_fill(0, 1024, true);
11	f(...$a);
12	yield;
13})()->valid();
14
15?>
16--EXPECT--
17int(1024)
18