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: Caching iterator count() cache contents --CREDITS-- Lukasz Andrzejak meltir@..
Decoded Output download
--TEST--
SPL: Caching iterator count() cache contents
--CREDITS--
Lukasz Andrzejak [email protected]
#testfest London 2009-05-09
--FILE--
<?php
$i = new ArrayIterator(array(1,1,1,1,1));
$i = new CachingIterator($i,CachingIterator::FULL_CACHE);
foreach ($i as $value) {
echo $i->count()."
";
}
?>
--EXPECT--
1
2
3
4
5
Did this file decode correctly?
Original Code
--TEST--
SPL: Caching iterator count() cache contents
--CREDITS--
Lukasz Andrzejak [email protected]
#testfest London 2009-05-09
--FILE--
<?php
$i = new ArrayIterator(array(1,1,1,1,1));
$i = new CachingIterator($i,CachingIterator::FULL_CACHE);
foreach ($i as $value) {
echo $i->count()."\n";
}
?>
--EXPECT--
1
2
3
4
5
Function Calls
None |
Stats
MD5 | 7a22e4a579d055aa21587e23754e9c4d |
Eval Count | 0 |
Decode Time | 102 ms |