Re: [PHP-DEV] Re: [PHP-CVS] 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
[email protected] (Sebastian Bergmann) Wed, 12 Mar 2003 19:45:07 +0100
| Newsgroups | php.dev |
|---|---|
| Organization | www.sebastian-bergmann.de |
| Message-ID | <[email protected]> |
Marcus Börger wrote:
> If you ask me i would not allow extending interfaces at all.
I have seen extended interfaces quite often in the Java world.
IIRC, the following code currently runs without problems and it should
stay that way, if it does not harm us in any way:
<?php
interface Foo {}
interface Bar extends Foo {}
class FooBar implements Bar {}
?>
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/