Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4465 invoked by uid 1010); 20 Jan 2004 22:41:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4430 invoked from network); 20 Jan 2004 22:41:42 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 20 Jan 2004 22:41:42 -0000 Received: (qmail 3781 invoked from network); 20 Jan 2004 22:41:37 -0000 Received: from guardian.zend.office (HELO andi-laptop.zend.com) (10.1.1.4) by int.zend.com with SMTP; 20 Jan 2004 22:41:37 -0000 Message-ID: <5.1.0.14.2.20040121004118.020f5db8@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 21 Jan 2004 00:41:36 +0200 To: Hans Lellelid ,internals@lists.php.net In-Reply-To: <4008549A.50609@velum.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] interfaces extending multiple interfaces From: andi@zend.com (Andi Gutmans) References: <4008549A.50609@velum.net> Zeev is planning on fixing this. Interfaces should be allowed to extend other interfaces but not to implement them. Andi At 04:16 PM 1/16/2004 -0500, Hans Lellelid wrote: >Is there any way to have an _interface_ implement or extend multiple >interfaces? This was working as of PHP5b3, but seems to work no longer as >of latest snapshot I downloaded. > >The only way to do it before was to have an interface implement other >interfaces: > >interface ExtendFileSelector implements Parameterizable, FileSelector { >} > >This was a very useful way to get around a need for multiple >inheritance. Obviously an interface that implements other interfaces is >kinda weird -- but I was very pleased that it worked. > >I apolgoize if I've missed a thread where this was discussed. > >Hans > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php