1--TEST--
2Bug #72767: PHP Segfaults when trying to expand an infinite operator
3--FILE--
4<?php
5
6function test() {}
7$iterator = new LimitIterator(
8 new InfiniteIterator(new ArrayIterator([42])),
9 0, 17000
10);
11test(...$iterator);
12
13?>
14===DONE===
15--EXPECT--
16===DONE===
17