--TEST-- Catch method calls on non-objects raise recoverable errors --FILE-- method()); } catch (Error $e) { var_dump($e->getCode(), $e->getMessage()); } echo "Alive\n"; ?> --EXPECTF-- int(0) string(%d) "Call to a member function method() on null" Alive