]> granicus.if.org Git - php/commitdiff
- Removed EOL from error message
authorfoobar <sniper@php.net>
Thu, 18 Aug 2005 12:34:13 +0000 (12:34 +0000)
committerfoobar <sniper@php.net>
Thu, 18 Aug 2005 12:34:13 +0000 (12:34 +0000)
Zend/zend_vm_def.h
Zend/zend_vm_execute.h

index 20097600fabed02e83cc008c9759b8f0fc63a314..ffd15e765dcf631d08f3d5c02f54fccd75283817 100644 (file)
@@ -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;
index 0750bf917d2462727614090158616486861f7d04..02adfd182570a398ac98b6c57c72712f99619fb4 100644 (file)
@@ -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;