Catch fatal errors.

$this = 0 triggers a fatal error.