]> granicus.if.org Git - php/commitdiff
fix error message and #40111
authorAntony Dovgal <tony2001@php.net>
Mon, 15 Jan 2007 10:04:44 +0000 (10:04 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 15 Jan 2007 10:04:44 +0000 (10:04 +0000)
Zend/zend_compile.c

index e758e3c80fd5932d3934541bca22d83a10a28ea6..9aaf14db36aff345eae2c44da519ab52c92092a7 100644 (file)
@@ -1535,11 +1535,10 @@ void zend_do_pass_param(znode *param, zend_uchar op, int offset TSRMLS_DC)
        if (original_op==ZEND_SEND_REF
                && !CG(allow_call_time_pass_reference)) {
                zend_error(E_COMPILE_WARNING,
-                                       "Call-time pass-by-reference has been deprecated - argument passed by value;  "
+                                       "Call-time pass-by-reference has been deprecated;  "
                                        "If you would like to pass it by reference, modify the declaration of %s().  "
                                        "If you would like to enable call-time pass-by-reference, you can set "
                                        "allow_call_time_pass_reference to true in your INI file.  "
-                                       "However, future versions may not support this any longer. ",
                                        (function_ptr?function_ptr->common.function_name:"[runtime function name]"));
        }