diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-29 16:03:24 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-30 09:19:02 +0100 |
commit | 6c73b50cf6cf71be26700ce168d5e69350637d71 (patch) | |
tree | 63442d7344ac41468c4f22a193a2e1214993b1bd /Zend/zend_execute_API.c | |
parent | 4eb5db2c68ecab4fd50a5e1950fdd6eb3703b899 (diff) | |
download | php-git-6c73b50cf6cf71be26700ce168d5e69350637d71.tar.gz |
Remove static calls to non-static methods
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index edab6edaa7..244ecc3f01 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -703,20 +703,9 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache) / EG(current_execute_data) = dummy_execute_data.prev_execute_data; } return FAILURE; - } else if (error) { - /* Capitalize the first latter of the error message */ - if (error[0] >= 'a' && error[0] <= 'z') { - error[0] += ('A' - 'a'); - } - zend_error(E_DEPRECATED, "%s", error); - efree(error); - if (UNEXPECTED(EG(exception))) { - if (EG(current_execute_data) == &dummy_execute_data) { - EG(current_execute_data) = dummy_execute_data.prev_execute_data; - } - return FAILURE; - } } + + ZEND_ASSERT(!error); } func = fci_cache->function_handler; |