Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #72661 (ReflectionType::__toString crashes with iterable) --FILE-- <?php func..

Decoded Output download

--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"

Did this file decode correctly?

Original Code

--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"

Function Calls

None

Variables

None

Stats

MD5 d06535742a36c17b774b1697107dc090
Eval Count 0
Decode Time 90 ms