Re: Persistent overloaded class registration problem,

From: Date: Thu, 25 Apr 2002 22:14:21 +0000
Subject: Re: Persistent overloaded class registration problem,
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83340@lists.php.net to get a copy of this message
At 11:11 24/04/2002 +0100, Sam Liddicott wrote:
My overloaded classes are now registered in MINIT with: INIT_OVERLOADED_CLASS_ENTRY() zend_register_internal_class() ..zend_register_list_destructors_ex And all seems mostly fine; except the second time apache serves a request, one of the classes (!!) has been de-registered! As shown by get_declared_classes() in the script. Swig is generating all the classes the same way so I'm asking if anyone might know the cause for this. The class registration pattern I am following leaves no scope for me to estrdup or emalloc and the like as zend underlying layers do all this stuff properly for me.
I'm not sure what's happening there. Did you grep the directories under ext/ for examples of how to use zend_register_internal_class()? Andi

« previous php.dev (#83340) next »