Hi,

> -----Original Message-----
> From: Michael Wallner [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 30, 2005 7:34 PM
> To: internals@lists.php.net
> Cc: Dmitry Stogov
> Subject: Re: [PHP-DEV] Re: Constants and static methods for 
> internal classes
> 
> 
> 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

Seems you are wrong.
I see ALLOC_HASHTABLE(class_type->static_members); in the patch.

> There's also a problem which I didn't track down yet:
>       static_members are destroyed after the request but not 
> reinitialized

The are reinicilized on next access through the same
zend_update_class_constants() from default values.

Dmitry.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to