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-- SPL: SplCachingIterator, Test method to convert current element to string --CREDI..

Decoded Output download

--TEST--
SPL: SplCachingIterator, Test method to convert current element to string
--CREDITS--
Chris Scott [email protected]
#testfest London 2009-05-09
--FILE--
<?php

$ai = new ArrayIterator(array(new stdClass(), new stdClass()));
$ci = new CachingIterator($ai);
var_dump(
$ci->__toString() // if conversion to string is done by echo, for example, an exception is thrown. Invoking __toString explicitly covers different code.
);
?>
--EXPECT--
string(0) ""

Did this file decode correctly?

Original Code

--TEST--
SPL: SplCachingIterator, Test method to convert current element to string
--CREDITS--
Chris Scott [email protected]
#testfest London 2009-05-09
--FILE--
<?php

$ai = new ArrayIterator(array(new stdClass(), new stdClass()));
$ci = new CachingIterator($ai);
var_dump(
$ci->__toString() // if conversion to string is done by echo, for example, an exception is thrown. Invoking __toString explicitly covers different code.
);
?>
--EXPECT--
string(0) ""

Function Calls

None

Variables

None

Stats

MD5 0e715bd7abc3858f28ab28c9684323b0
Eval Count 0
Decode Time 76 ms