Recalssify some E_ERROR into E_CORE_ERROR

This commit is contained in:
Dmitry Stogov 2015-04-02 13:07:17 +03:00
parent a764214b02
commit bf259db82e
4 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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;
}

View File

@ -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)

View File

@ -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)