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-- Using an uninitialized DirectoryIterator --FILE-- <?php class MyDirectoryIterato..
Decoded Output download
--TEST--
Using an uninitialized DirectoryIterator
--FILE--
<?php
class MyDirectoryIterator extends DirectoryIterator {
public function __construct() {}
}
$it = new MyDirectoryIterator;
try {
$it->key();
} catch (Error $e) {
echo $e->getMessage(), "
";
}
?>
--EXPECT--
Object not initialized
Did this file decode correctly?
Original Code
--TEST--
Using an uninitialized DirectoryIterator
--FILE--
<?php
class MyDirectoryIterator extends DirectoryIterator {
public function __construct() {}
}
$it = new MyDirectoryIterator;
try {
$it->key();
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Object not initialized
Function Calls
None |
Stats
MD5 | 86cf76d76279f32a33947f9f2c49d688 |
Eval Count | 0 |
Decode Time | 109 ms |