php[world] 2017

Voting

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

The Note You're Voting On

Shot (Piotr Szotkowski)
8 years ago
‘Normal execution (when no exception is thrown within the try block, *or when a catch matching the thrown exception’s class is not present*) will continue after that last catch block defined in sequence.’

‘If an exception is not caught, a PHP Fatal Error will be issued with an “Uncaught Exception …” message, unless a handler has been defined with set_exception_handler().’

These two sentences seem a bit contradicting about what happens ‘when a catch matching the thrown exception’s class is not present’ (and the second sentence is actually correct).

<< Back to user notes page

To Top