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-- error_get_last() tests --FILE-- <?php var_dump(error_get_last()); try { var_..
Decoded Output download
--TEST--
error_get_last() tests
--FILE--
<?php
var_dump(error_get_last());
try {
var_dump(error_get_last(true));
} catch (TypeError $e) {
echo $e->getMessage(), "
";
}
var_dump(error_get_last());
$a = $b;
var_dump(error_get_last());
echo "Done
";
?>
--EXPECTF--
NULL
error_get_last() expects exactly 0 arguments, 1 given
NULL
Warning: Undefined variable $b in %s on line %d
array(4) {
["type"]=>
int(2)
["message"]=>
string(21) "Undefined variable $b"
["file"]=>
string(%d) "%s"
["line"]=>
int(11)
}
Done
Did this file decode correctly?
Original Code
--TEST--
error_get_last() tests
--FILE--
<?php
var_dump(error_get_last());
try {
var_dump(error_get_last(true));
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
var_dump(error_get_last());
$a = $b;
var_dump(error_get_last());
echo "Done\n";
?>
--EXPECTF--
NULL
error_get_last() expects exactly 0 arguments, 1 given
NULL
Warning: Undefined variable $b in %s on line %d
array(4) {
["type"]=>
int(2)
["message"]=>
string(21) "Undefined variable $b"
["file"]=>
string(%d) "%s"
["line"]=>
int(11)
}
Done
Function Calls
error_get_last | 1 |
Stats
MD5 | cd48257421738c6103d448027949c45a |
Eval Count | 0 |
Decode Time | 80 ms |