Re: Re: Constants and static methods for internal classes
| From: | Michael Wallner | Date: | Tue, 30 Aug 2005 15:34:04 +0000 |
| Subject: | Re: Re: Constants and static methods for internal classes | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18567@lists.php.net to get a copy of this message | ||
Hi Dmitry Stogov, you wrote:
> OK. Let me know if you will find any problems with patch.
There's a typo in zend_update_class_constants():
ALLOC_HASHTABLE() refers to class_type instead of class_type->static_members
There's also a problem which I didn't track down yet:
static_members are destroyed after the request but not reinitialized
Regards,
--
Michael - < mike(@)php.net >