mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Recalssify some E_ERROR into E_CORE_ERROR
This commit is contained in:
@@ -1953,7 +1953,7 @@ ZEND_FUNCTION(create_function)
|
||||
|
||||
func = zend_hash_str_find_ptr(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)-1);
|
||||
if (!func) {
|
||||
zend_error_noreturn(E_ERROR, "Unexpected inconsistency in create_function()");
|
||||
zend_error_noreturn(E_CORE_ERROR, "Unexpected inconsistency in create_function()");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
if (func->refcount) {
|
||||
|
||||
@@ -686,7 +686,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache) /
|
||||
case sizeof(zend_fcall_info):
|
||||
break; /* nothing to do currently */
|
||||
default:
|
||||
zend_error_noreturn(E_ERROR, "Corrupted fcall_info provided to zend_call_function()");
|
||||
zend_error_noreturn(E_CORE_ERROR, "Corrupted fcall_info provided to zend_call_function()");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -411,7 +411,7 @@ ZEND_API void execute_ex(zend_execute_data *ex)
|
||||
}
|
||||
|
||||
}
|
||||
zend_error_noreturn(E_ERROR, "Arrived at end of main loop which shouldn't happen");
|
||||
zend_error_noreturn(E_CORE_ERROR, "Arrived at end of main loop which shouldn't happen");
|
||||
}
|
||||
|
||||
ZEND_API void zend_execute(zend_op_array *op_array, zval *return_value)
|
||||
|
||||
@@ -17,7 +17,7 @@ ZEND_API void {%EXECUTOR_NAME%}_ex(zend_execute_data *ex)
|
||||
}
|
||||
|
||||
}
|
||||
zend_error_noreturn(E_ERROR, "Arrived at end of main loop which shouldn't happen");
|
||||
zend_error_noreturn(E_CORE_ERROR, "Arrived at end of main loop which shouldn't happen");
|
||||
}
|
||||
|
||||
ZEND_API void zend_{%EXECUTOR_NAME%}(zend_op_array *op_array, zval *return_value)
|
||||
|
||||
Reference in New Issue
Block a user