]> granicus.if.org Git - php/commitdiff
- Initialize callable_name if requested
authorMarcus Boerger <helly@php.net>
Thu, 23 Mar 2006 13:09:28 +0000 (13:09 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 23 Mar 2006 13:09:28 +0000 (13:09 +0000)
Zend/zend_API.c

index e80135dd35a667e4aa33aa779edfd2352998b38c..810272bdabc23c21bb23efdbef11b6f17b1154ee 100644 (file)
@@ -2586,6 +2586,9 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, zval *c
        zend_function *fptr_local;
        zval **zobj_ptr_local;
 
+       if (callable_name) {
+               ZVAL_NULL(callable_name);
+       }
        if (ce_ptr == NULL) {
                ce_ptr = &ce_local;
        }