cvs: ZendEngine2 / zend_reflection_api.c

From: Date: Mon, 16 Aug 2004 08:48:27 +0000
Subject: cvs: ZendEngine2 / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2870@lists.php.net to get a copy of this message
helly Mon Aug 16 04:48:27 2004 EDT Modified files: /ZendEngine2 zend_reflection_api.c Log: - Fix bug #29447: Reflection API issues http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.119&r2=1.120&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.119 ZendEngine2/zend_reflection_api.c:1.120 --- ZendEngine2/zend_reflection_api.c:1.119 Wed Aug 4 18:47:56 2004 +++ ZendEngine2/zend_reflection_api.c Mon Aug 16 04:48:25 2004 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.119 2004/08/04 22:47:56 helly Exp $ */ +/* $Id: zend_reflection_api.c,v 1.120 2004/08/16 08:48:25 helly Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -2358,6 +2358,7 @@ METHOD_NOTSTATIC_NUMPARAMS(0); GET_REFLECTION_OBJECT_PTR(ce); array_init(return_value); + zend_hash_apply_with_argument(&ce->constants_table, (apply_func_arg_t) zval_update_constant, (void*)1 TSRMLS_CC); zend_hash_copy(Z_ARRVAL_P(return_value), &ce->constants_table, (copy_ctor_func_t) zval_add_ref, (void *) &tmp_copy, sizeof(zval *)); } /* }}} */ @@ -2378,6 +2379,7 @@ } GET_REFLECTION_OBJECT_PTR(ce); + zend_hash_apply_with_argument(&ce->constants_table, (apply_func_arg_t) zval_update_constant, (void*)1 TSRMLS_CC); if (zend_hash_find(&ce->constants_table, name, name_len + 1, (void **) &value) == FAILURE) { RETURN_FALSE; }

« previous php.zend-engine.cvs (#2870) next »