- var_dump: documentation ( source)
- error_get_last: documentation ( source)
- register_shutdown_function: documentation ( source)
- set_error_handler: documentation ( source)
<?php
set_error_handler(function($errno, $errstr) {
});
echo $undefined;
register_shutdown_function(function() {
var_dump(error_get_last());
});