Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7145 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51532 invoked by uid 1010); 17 Jan 2004 01:08:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51497 invoked from network); 17 Jan 2004 01:08:14 -0000 Received: from unknown (HELO stella.fastforwardnetwork.com) (209.51.153.50) by pb1.pair.com with SMTP; 17 Jan 2004 01:08:14 -0000 Received: (qmail 16805 invoked from network); 17 Jan 2004 02:12:55 -0000 Received: from pd9519a87.dip.t-dialin.net (HELO hristov.com) (217.81.154.135) by d.goto.bg with SMTP; 17 Jan 2004 02:12:55 -0000 Message-ID: <400888F0.1070905@hristov.com> Date: Sat, 17 Jan 2004 01:59:28 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20031230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Lellelid CC: internals@lists.php.net References: <4008549A.50609@velum.net> In-Reply-To: <4008549A.50609@velum.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] interfaces extending multiple interfaces From: php@hristov.com (Andrey Hristov) Hi, 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. Yeah, it's like that for about 2 days. Hopefully this will be fixed before RC1 which is scheduled for the end of the month. Sebastian Bergmann already complained :) > I apolgoize if I've missed a thread where this was discussed. No, it wasn't. Andrey