Please answer this simple SPAM challenge: eight minus one?
(Example: nine)

The Note You're Voting On

hweidmann at online dot de
2 years ago
catch doesn't check for the existence of the Exception class, so avoid typo.

class MyException extends Exception

      throw new
   catch (
MuException $e) // <--- typo

You WON'T get
   Fatal error: Class MuException could not be loaded ...

You WILL get
   Fatal error: Uncaught exception 'MyException' ...

<< Back to user notes page

To Top