Re: Re: static members of internal classes

From: Date: Mon, 25 Jul 2005 20:45:24 +0000
Subject: Re: Re: static members of internal classes
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-17396@lists.php.net to get a copy of this message
At 09:50 AM 7/22/2005 +0200, Michael Wallner wrote:
Also zval_internal_dtor() implies that one cannot set a static member of a ZEND_INTERNAL_CLASS to be a stream, array etc...
Yes, that's correct. It's a limitation you have to live with because those datastructures are destroyed at the end of the request. That said, you can create them at RINIT/RSHUTDOWN. Unless you are doing something exceptionally big, it shouldn't be a biggy. Andi

« previous php.internals (#17396) next »