RE: [PHP-DEV] Re: Constants and static methods for internal classes
| From: | Dmitry Stogov | Date: | Wed, 31 Aug 2005 16:31:45 +0000 |
| Subject: | RE: [PHP-DEV] Re: Constants and static methods for internal classes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18613@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Michael Wallner [mailto:mike@php.net]
> Sent: Wednesday, August 31, 2005 12:57 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: Constants and static methods for
> internal classes
>
> >>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.
>
> But zend_update_class_constants() will only take effect once
> for internal classes, while the static_members need to be
> updated/reset for every request?
zend_update_class_constants() will be called for every request automatic (if
it is necessary)
Dmitry.