Re: Re: cvs: php4 /tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt interface_instantiate.phpt
interface_member.phpt interface_method.phpt interface_method_final.phpt interface_method_private.phpt interface_must_be_implemented.phpt

From: Date: Wed, 12 Mar 2003 19:43:58 +0000
Subject: Re: Re: cvs: php4 /tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt interface_instantiate.phpt
interface_member.phpt interface_method.phpt interface_method_final.phpt interface_method_private.phpt interface_must_be_implemented.phpt
References: 1 2 3 4 5 6 7 8  Groups: php.dev 
Request: Send a blank email to php-dev+get-95119@lists.php.net to get a copy of this message
At 20:20 12.03.2003, Andrei Zmievski wrote:
On Wed, 12 Mar 2003, Marcus Börger wrote: This works even though i do not like extends FOO. Why? Both C# and Java (AFAIR) allow interfaces to extend other interfaces.
Because of the second part of the answer. It is a little bit strange that an interface can extend and implement an interface but a class can only implement interfaces. Also it is a bit weired that i can implement multiple interface but extend only one. Hey these two words sound different and should have a clearly different meaning. I think we should disallow classes extending interfaces. Only
'implements' should be supported.
As said already: yes. marcus

« previous php.dev (#95119) next »