- var_dump: documentation ( source)
- error_get_last: documentation ( source)
- register_shutdown_function: documentation ( source)
- set_error_handler: documentation ( source)
<?php
function f() {
$foo = null;
$foo->foo();
}
function f1() {
f();
}
set_error_handler(function() { var_dump(func_get_args());}, 0xffffffff);
register_shutdown_function(function() { var_dump(error_get_last()); });
f1();