- var_dump: documentation ( source)
- register_shutdown_function: documentation ( source)
- set_error_handler: documentation ( source)
<?php
set_error_handler(function() { exit; });
$array = [new StdClass];
register_shutdown_function(function() use ($array) {
var_dump($array);
});
var_dump([1] == $array);