Date: 09/13/01
- Next message: Tim Constable: "[PHP-DEV] Get CASH deposited to Your PayPAl Account! Works Fast!!!"
- Previous message: fate450 <email protected>: "[PHP-DEV] Bug #13296: doesn't recognize my $vars"
- Next in thread: Stefan Arentz: "Re: [PHP-DEV] zend_do_end_class_declaration() question"
- Reply: Stefan Arentz: "Re: [PHP-DEV] zend_do_end_class_declaration() question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Tim Constable: "[PHP-DEV] Get CASH deposited to Your PayPAl Account! Works Fast!!!"
- Previous message: fate450 <email protected>: "[PHP-DEV] Bug #13296: doesn't recognize my $vars"
- Next in thread: Stefan Arentz: "Re: [PHP-DEV] zend_do_end_class_declaration() question"
- Reply: Stefan Arentz: "Re: [PHP-DEV] zend_do_end_class_declaration() question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

