Re: Inheritance
| From: | Alberto Serra | Date: | Sat, 13 Jul 2002 05:18:53 +0000 |
| Subject: | Re: Inheritance | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107480@lists.php.net to get a copy of this message | ||
Привет!
if you have multilayered inheritance you may explicitely say which anceStor class you are calling, like foo::print().two typos in a few words are definitely too much, sorry :) BTW, although almost all class specification is dynamic you cannot dynamically specify a class name in fron of the :: operator. A bug, most probably. $myclass = 'foo'; $myclass::print(); will produce a weird parse error. Пока Альберто Киев @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@ LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is.......