From ec760d8fffe7e6f56b458d477dd2dfdda73329ec Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 1 Apr 2015 20:01:57 +0300 Subject: Convert fatal errors into EngineExceptions --- Zend/zend_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_API.c') 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) { -- cgit v1.2.1