mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Change argument error message format
Closes GH-5211
This commit is contained in:
parent
c7094d8926
commit
960318ed95
357 changed files with 1168 additions and 1158 deletions
|
@ -751,7 +751,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache) /
|
|||
const char *arg_name = get_function_arg_name(func, i + 1);
|
||||
|
||||
zend_error(E_WARNING,
|
||||
"%s%s%s() expects argument #%d%s%s%s to be passed by reference, value given",
|
||||
"%s%s%s(): Argument #%d%s%s%s must be passed by reference, value given",
|
||||
func->common.scope ? ZSTR_VAL(func->common.scope->name) : "",
|
||||
func->common.scope ? "::" : "",
|
||||
ZSTR_VAL(func->common.function_name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue