I am new to php world and learning from php.net and this paragraph wasted all my day. Can anyone tell what does this paragraph tells on that reference link (http://php.net/manual/en/language.errors.php7.php)?
As the Error hierarchy does not inherit from Exception, code that uses catch (Exception $e) { ... } blocks to handle uncaught exceptions in PHP 5 will find that these Errors are not caught by these blocks. Either a catch (Error $e) { ... } block or a set_exception_handler() handler is required.