diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-04-01 20:01:57 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-04-01 20:01:57 +0300 |
commit | ec760d8fffe7e6f56b458d477dd2dfdda73329ec (patch) | |
tree | 77c80ced813698a78701de122aa52b115fcb2f9d /Zend/zend_API.c | |
parent | 0295d89d45e9f8693a11362cb993d7494edb107f (diff) | |
download | php-git-ec760d8fffe7e6f56b458d477dd2dfdda73329ec.tar.gz |
Convert fatal errors into EngineExceptions
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index d10587aec1..80af57d76a 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -3103,7 +3103,7 @@ get_function_via_handler: verb = "should not"; } else { /* An internal function assumes $this is present and won't check that. So PHP would crash by allowing the call. */ - severity = E_ERROR; + severity = E_ERROR; //TODO: add E_EXCEPTION??? verb = "cannot"; } if ((check_flags & IS_CALLABLE_CHECK_IS_STATIC) != 0) { |