mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Review the usage of apostrophes in error messages
Closes GH-5590
This commit is contained in:
parent
2ad75ba784
commit
d30cd7d7e7
421 changed files with 907 additions and 897 deletions
|
@ -2427,7 +2427,7 @@ PHP_FUNCTION(register_tick_function)
|
|||
|
||||
if (!zend_is_callable(&tick_fe.arguments[0], 0, &function_name)) {
|
||||
efree(tick_fe.arguments);
|
||||
zend_argument_type_error(1, "must be a valid tick callback, '%s' given", ZSTR_VAL(function_name));
|
||||
zend_argument_type_error(1, "must be a valid tick callback, \"%s\" given", ZSTR_VAL(function_name));
|
||||
zend_string_release_ex(function_name, 0);
|
||||
RETURN_THROWS();
|
||||
} else if (function_name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue