RE: [PHP-DEV] Persistent overloaded class registration problem,

From: Date: Fri, 26 Apr 2002 08:14:19 +0000
Subject: RE: [PHP-DEV] Persistent overloaded class registration problem,
Groups: php.dev 
Request: Send a blank email to php-dev+get-83355@lists.php.net to get a copy of this message
> -----Original Message----- > From: Andi Gutmans [mailto:andi@zend.com] > Sent: 25 April 2002 23:14 > To: Sam Liddicott; Sam Liddicott; 'Rasmus Lerdorf' > Cc: 'PHP Developers Mailing List' > Subject: Re: [PHP-DEV] Persistent overloaded class > registration problem, > > > 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. > > 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()? Yes, most of it I copied from java/java.c however it turned out to be another pointer fault (HashPosition * instead of HashPosition) which was clobbering zend memory, so it works fine now. Thanks v.much Sam

« previous php.dev (#83355) next »