Re: request
| From: | Stanislav Malyshev | Date: | Sun, 22 Apr 2001 18:07:49 +0000 |
| Subject: | Re: request | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52148@lists.php.net to get a copy of this message | ||
AZ>> Ok, do you suggest just throwing an error if the symbol is
AZ>> ambiguous? Then you need to way to specify which of the parent
AZ>> classes' method to use, C++ does it like this:
AZ>>
AZ>> obj->B::a(); // calls method a() defined in parent class B
Yes, but in PHP it would be run-time error. I don't know if it would be
possible to implement this in efficient way, though.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115