Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output
| From: | Xinchen Hui | Date: | Fri, 15 May 2015 14:38:54 +0000 |
| Subject: | Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-86232@lists.php.net to get a copy of this message | ||
Hey:
as described in https://bugs.php.net/bug.php?id=69640&thanks=1
instead of fixing it by exam the error type, I'd prefer to
disallow initializing a engine exception from user land..
like if you try to initialize a engine/type/parser exception, an E_ERROR of:
PHP Fatal error: Initilizing a system exception is disallowed
will be trigged..
what do you think?
thanks
--
Xinchen Hui
@Laruence
http://www.laruence.com/