mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
- Removed EOL from error message
This commit is contained in:
@@ -2003,7 +2003,7 @@ ZEND_VM_HANDLER(60, ZEND_DO_FCALL, CONST, ANY)
|
||||
|
||||
if (zend_u_hash_find(EG(function_table), Z_TYPE_P(fname), Z_UNIVAL_P(fname), Z_UNILEN_P(fname)+1, (void **) &EX(function_state).function)==FAILURE) {
|
||||
/* FIXME: output identifiers properly */
|
||||
zend_error_noreturn(E_ERROR, "Unknown function: %R()\n", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
|
||||
zend_error_noreturn(E_ERROR, "Unknown function: %R()", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
|
||||
}
|
||||
EX(object) = NULL;
|
||||
EX(calling_scope) = EX(function_state).function->common.scope;
|
||||
|
||||
@@ -1604,7 +1604,7 @@ static int ZEND_DO_FCALL_SPEC_CONST_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
|
||||
|
||||
if (zend_u_hash_find(EG(function_table), Z_TYPE_P(fname), Z_UNIVAL_P(fname), Z_UNILEN_P(fname)+1, (void **) &EX(function_state).function)==FAILURE) {
|
||||
/* FIXME: output identifiers properly */
|
||||
zend_error_noreturn(E_ERROR, "Unknown function: %R()\n", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
|
||||
zend_error_noreturn(E_ERROR, "Unknown function: %R()", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
|
||||
}
|
||||
EX(object) = NULL;
|
||||
EX(calling_scope) = EX(function_state).function->common.scope;
|
||||
|
||||
Reference in New Issue
Block a user