mirror of
https://github.com/php/php-src.git
synced 2026-04-08 00:22:52 +02:00
fix error message and #40111
This commit is contained in:
@@ -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]"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user