]> granicus.if.org Git - php/commitdiff
make it consistent
authorAntony Dovgal <tony2001@php.net>
Thu, 3 Aug 2006 10:57:13 +0000 (10:57 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 3 Aug 2006 10:57:13 +0000 (10:57 +0000)
Zend/zend_vm_def.h
Zend/zend_vm_execute.h

index 0786bd7e94c5a5572a78cca667c829a32eee982f..0cd79770462c73c04673a755fe06bdbf662b5c1e 100644 (file)
@@ -2058,7 +2058,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, "Call to undefined function %R()", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
+               zend_error_noreturn(E_ERROR, "Call to undefined function %R()", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
        }
        EX(object) = NULL;
 
index e6bf21131afe8c3a0d4722aa2f019fd75b05e9b2..3bd93c092882cde2302fcb5a46795046a0fd9c9b 100644 (file)
@@ -1602,7 +1602,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, "Call to undefined function %R()", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
+               zend_error_noreturn(E_ERROR, "Call to undefined function %R()", Z_TYPE_P(fname), Z_UNIVAL_P(fname));
        }
        EX(object) = NULL;