blob: b1cb764beb62ad4a8df12d5f047d29e4e6e00aae (
plain)
1
2
3
4
5
6
7
8
9
10
|
--TEST--
Bug #72661 (ReflectionType::__toString crashes with iterable)
--FILE--
<?php
function test(iterable $arg) { }
var_dump((string)(new ReflectionParameter("test", 0))->getType());
?>
--EXPECT--
string(8) "iterable"
|