<?php
class Foo {
}
function blah (Foo $a)
{
}
function error()
{
$a = func_get_args();
var_dump($a);
}
set_error_handler('error');
blah (new StdClass);
echo "ALIVE!\n";
?>
- Used if there is a fatal error which doesn't leave the engine in an unstable state.
- If not handled in a user defined error handler -> E_FATAL.