cvs: ZendEngine2 / zend_reflection_api.c

From: Date: Sun, 06 Mar 2005 22:15:36 +0000
Subject: cvs: ZendEngine2 / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3455@lists.php.net to get a copy of this message
helly Sun Mar 6 17:15:36 2005 EDT Modified files: /ZendEngine2 zend_reflection_api.c Log: - Fix by Tim http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.149&r2=1.150&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.149 ZendEngine2/zend_reflection_api.c:1.150 --- ZendEngine2/zend_reflection_api.c:1.149 Sun Feb 27 17:21:17 2005 +++ ZendEngine2/zend_reflection_api.c Sun Mar 6 17:15:35 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.149 2005/02/27 22:21:17 helly Exp $ */ +/* $Id: zend_reflection_api.c,v 1.150 2005/03/06 22:15:35 helly Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -3358,6 +3358,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 (#3455) next »