Re: Order of parent and child classes in EG(class_table)

From: Date: Mon, 26 Mar 2007 17:29:47 +0000
Subject: Re: Order of parent and child classes in EG(class_table)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-28602@lists.php.net to get a copy of this message
I am wondering whether a child class is always stored after its parent class in EG(class_table) because I would like to rely on this behaviour for the result of get_declared_classes().
I think it's not written anywhere it should be so, but in fact it always would be so since when you are defining child class you have to have parent already in the class table. So unless some very nasty extension would define classes in different order, it is always so. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#28602) next »