Re: zend_do_end_class_declaration() question

From: Date: Sat, 15 Sep 2001 08:42:18 +0000
Subject: Re: zend_do_end_class_declaration() question
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-65989@lists.php.net to get a copy of this message
It's the correct place. It sounds weird what you're mentioning. do_inherit_parent_constructor() also checks ce->parent and it seems to work. Do you have a short script (class decelerations) which shows this behavior? What are you trying to accomplish? Andi At 07:22 PM 9/14/2001 +0200, Stefan Arentz wrote:
Is this the correct list for questions like below or is there also a more Zend specific mailinglist? Stefan On Fri, Sep 14, 2001 at 03:28:20AM +0200, Stefan Arentz wrote: Hi, I'm trying to add some code to zend_do_end_class_declaration that looks at the parent class. However the following check always fails, even for classes that do have parents: ce = CG(active_class_entry); if (ce->parent) {
     fprintf(stderr, "Class has a parent\n");
} I don't understand this. I can see that parent is being set in the zend_do_begin_class_declaration() function. What's going on here? Stefan -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#65989) next »