Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9415 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74364 invoked by uid 1010); 20 Apr 2004 12:30:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74306 invoked from network); 20 Apr 2004 12:30:28 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 20 Apr 2004 12:30:28 -0000 Received: (qmail 23990 invoked from network); 20 Apr 2004 12:30:17 -0000 Received: from shire.zend.office (10.1.2.140) by int.zend.com with SMTP; 20 Apr 2004 12:30:17 -0000 Date: Tue, 20 Apr 2004 15:30:18 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: Zeev Suraski cc: internals@lists.php.net In-Reply-To: <5.1.0.14.2.20040419112627.03efaa00@localhost> Message-ID: References: <5.1.0.14.2.20040419112627.03efaa00@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Interface inheritance From: stas@zend.com (Stanislav Malyshev) ZS>>I believe that this behavior is wrong. I believe that classes should ZS>>not be allowed to say they implement an interface X, unless they ZS>>actually implement all of the methods in that interface with methods ZS>>that are compatible with its prototypes. I agree. Since interfaces and abstract classes are new to PHP5, and do not pose compatibility problem, I think it's good to make them strict. The old behaviour can be always obtained by using regular classes. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115