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: iterator_count() exceptions test --CREDITS-- Lance Kesson jac_kesson@hotmail..
Decoded Output download
--TEST--
SPL: iterator_count() exceptions test
--CREDITS--
Lance Kesson [email protected]
#testfest London 2009-05-09
--FILE--
<?php
$array=array('a','b');
$iterator = new ArrayIterator($array);
iterator_count('1');
?>
--EXPECTF--
Fatal error: Uncaught TypeError: iterator_count(): Argument #1 ($iterator) must be of type Traversable, string given in %s:%d
Stack trace:
#0 %s(%d): iterator_count('1')
#1 {main}
thrown in %s on line %d
Did this file decode correctly?
Original Code
--TEST--
SPL: iterator_count() exceptions test
--CREDITS--
Lance Kesson [email protected]
#testfest London 2009-05-09
--FILE--
<?php
$array=array('a','b');
$iterator = new ArrayIterator($array);
iterator_count('1');
?>
--EXPECTF--
Fatal error: Uncaught TypeError: iterator_count(): Argument #1 ($iterator) must be of type Traversable, string given in %s:%d
Stack trace:
#0 %s(%d): iterator_count('1')
#1 {main}
thrown in %s on line %d
Function Calls
None |
Stats
MD5 | 7c318e13aa2bcacf77f9706b0b137be6 |
Eval Count | 0 |
Decode Time | 81 ms |