Please answer this simple SPAM challenge: four plus zero?
(Example: nine)

The Note You're Voting On

hweidmann at online dot de
1 year 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