Re: request

From: Date: Sun, 22 Apr 2001 09:54:32 +0000
Subject: Re: request
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-52132@lists.php.net to get a copy of this message
AZ>> You could have two classes both defining an innocent method AZ>> toString(), for example, and with your suggestion, inheriting AZ>> from those classes would cause a hard error? Why would "first Sure this is a hard error. And double sure using first method is wrong. Why the first one is better than the second? The third? The 42th? The toString function should or be overriden in inherited object, which resolves the conflict, or uniquely qualified each time. Choosing random (and first _is_ random, because you have no control on the order of definitions in foreign code) implementaion is not going to bring any good. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#52132) next »