cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c

From: Date: Sun, 13 Mar 2005 13:24:07 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3487@lists.php.net to get a copy of this message
helly Sun Mar 13 08:24:07 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_reflection_api.c Log: - MFH http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.111.2.18&r2=1.111.2.19&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.111.2.18 ZendEngine2/zend_reflection_api.c:1.111.2.19 --- ZendEngine2/zend_reflection_api.c:1.111.2.18 Wed Feb 23 07:33:33 2005 +++ ZendEngine2/zend_reflection_api.c Sun Mar 13 08:24:07 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.111.2.18 2005/02/23 12:33:33 derick Exp $ */ +/* $Id: zend_reflection_api.c,v 1.111.2.19 2005/03/13 13:24:07 helly Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -3051,6 +3051,7 @@ } if ((ref->prop->flags & ZEND_ACC_STATIC)) { + zend_update_class_constants(intern->ce TSRMLS_CC); if (zend_hash_quick_find(intern->ce->static_members, ref->prop->name, ref->prop->name_length + 1, ref->prop->h, (void **) &member) == FAILURE) { zend_error(E_ERROR, "Internal error: Could not find the property %s", ref->prop->name); /* Bails out */

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