summaryrefslogtreecommitdiff
path: root/ext/unicode/unicode.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-08-02 04:40:45 +0000
committerFelipe Pena <felipe@php.net>2008-08-02 04:40:45 +0000
commit611ecc5111784936a306a98c10b9d74a2ab7d1eb (patch)
treeee2167dd90a0cc3e98896e94dfc4b95b541efc0a /ext/unicode/unicode.c
parentdd3d9fc455b699cbeccb466f162e9fbbcc9df724 (diff)
downloadphp-git-611ecc5111784936a306a98c10b9d74a2ab7d1eb.tar.gz
- Added parameter TSRMLS_DC in zend_is_callable()
Diffstat (limited to 'ext/unicode/unicode.c')
-rw-r--r--ext/unicode/unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/unicode/unicode.c b/ext/unicode/unicode.c
index d81eb2aae6..6a0fc09c45 100644
--- a/ext/unicode/unicode.c
+++ b/ext/unicode/unicode.c
@@ -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);