mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Bugfix #28851: call_user_func_array has typo in error message
This commit is contained in:
parent
0e6607aa51
commit
43b4b086db
1 changed files with 1 additions and 1 deletions
|
@ -1932,7 +1932,7 @@ PHP_FUNCTION(call_user_func_array)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!zend_is_callable(*func, 0, &name)) {
|
if (!zend_is_callable(*func, 0, &name)) {
|
||||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "First argumented is expected to be a valid callback, '%s' was given", name);
|
php_error_docref(NULL TSRMLS_CC, E_WARNING, "First argument is expected to be a valid callback, '%s' was given", name);
|
||||||
efree(name);
|
efree(name);
|
||||||
RETURN_NULL();
|
RETURN_NULL();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue