1--TEST--
2Test that legacy IS_ITERABLE arg info type generates a notice
3--EXTENSIONS--
4zend_test
5--FILE--
6<?php
7
8function gen() {
9    yield 1;
10};
11
12var_dump(zend_iterable_legacy([], null));
13var_dump(zend_iterable_legacy([], []));
14var_dump(zend_iterable_legacy(gen(), null));
15var_dump(zend_iterable_legacy(gen(), gen()));
16
17?>
18==DONE==
19--EXPECT--
20array(0) {
21}
22array(0) {
23}
24object(Generator)#1 (0) {
25}
26object(Generator)#1 (0) {
27}
28==DONE==
29