mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
- Added parameter TSRMLS_DC in zend_is_callable()
This commit is contained in:
parent
dd3d9fc455
commit
611ecc5111
24 changed files with 39 additions and 37 deletions
|
@ -237,7 +237,7 @@ PHP_FUNCTION(unicode_set_error_handler)
|
|||
}
|
||||
|
||||
if (Z_TYPE_P(error_handler) != IS_NULL) { /* NULL == unset */
|
||||
if (!zend_is_callable(error_handler, 0, &error_handler_name)) {
|
||||
if (!zend_is_callable(error_handler, 0, &error_handler_name TSRMLS_CC)) {
|
||||
zend_error(E_WARNING, "%v() expects the argument (%R) to be a valid callback",
|
||||
get_active_function_name(TSRMLS_C), Z_TYPE(error_handler_name), Z_UNIVAL(error_handler_name));
|
||||
zval_dtor(&error_handler_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue