From: foobar Date: Thu, 18 Aug 2005 12:34:13 +0000 (+0000) Subject: - Removed EOL from error message X-Git-Tag: PRE_NEW_OCI8_EXTENSION~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45ed0b936bc32831ed59519c89900a2a0c8b8a61;p=php - Removed EOL from error message --- diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index 20097600fa..ffd15e765d 100644 --- a/Zend/zend_vm_def.h +++ b/Zend/zend_vm_def.h @@ -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; diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h index 0750bf917d..02adfd1825 100644 --- a/Zend/zend_vm_execute.h +++ b/Zend/zend_vm_execute.h @@ -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;