xref: /PHP-7.3/ext/reflection/tests/bug72661.phpt (revision 782352c5)
1--TEST--
2Bug #72661 (ReflectionType::__toString crashes with iterable)
3--FILE--
4<?php
5function test(iterable $arg) { }
6
7var_dump((string)(new ReflectionParameter("test", 0))->getType());
8?>
9--EXPECT--
10string(8) "iterable"
11