> -----Original Message-----
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
> 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




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

Reply via email to