Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70870 invoked by uid 1010); 26 Dec 2007 02:53:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70838 invoked from network); 26 Dec 2007 02:53:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Dec 2007 02:53:52 -0000 Authentication-Results: pb1.pair.com header.from=sam@sambarrow.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sam@sambarrow.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sambarrow.com from 205.234.132.11 cause and error) X-PHP-List-Original-Sender: sam@sambarrow.com X-Host-Fingerprint: 205.234.132.11 scottsdale.servershost.net Received: from [205.234.132.11] ([205.234.132.11:49573] helo=scottsdale.servershost.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/23-43924-F32C1774 for ; Tue, 25 Dec 2007 21:53:51 -0500 Received: from [208.58.196.175] (port=50922 helo=[192.168.1.94]) by scottsdale.servershost.net with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from ) id 1J7MP0-0002ty-Ry; Tue, 25 Dec 2007 20:53:51 -0600 To: Andi Gutmans Cc: PHP Developers Mailing List In-Reply-To: <698DE66518E7CA45812BD18E807866CE01103262@us-ex1.zend.net> References: <1198614204.6325.3.camel@sam-desktop> <698DE66518E7CA45812BD18E807866CE01103262@us-ex1.zend.net> Content-Type: text/plain Date: Tue, 25 Dec 2007 21:53:51 -0500 Message-ID: <1198637631.6325.7.camel@sam-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - scottsdale.servershost.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sambarrow.com X-Source: X-Source-Args: X-Source-Dir: Subject: RE: [PHP-DEV] Will pay for feature add From: sam@sambarrow.com (Sam Barrow) I understand that this functionality would not be implemented in the PHP release, I was just going to try to get it going for myself, so that I could have my own patch and compile from source when needed. On Tue, 2007-12-25 at 17:39 -0800, Andi Gutmans wrote: > Hi Sam, > > When we designed PHP 5 we intentionally went down the Java-like route of > multiple interfaces and single inheritance. This was a major design > decision and not something we want to change. From the languages which > do support it like C++ you can see how many problems it creates and the > workarounds the language needs to support, hence why Java went down a > different route. > > The features you should be looking at are interfaces, single > inheritance, and __call(). If there are special needs you have which > require some additional functionality you may want to look at building > some proxy class in C as a PHP extension but I have yet to see many > situations where that's really needed. > > Andi > > > -----Original Message----- > > From: Sam Barrow [mailto:sam@sambarrow.com] > > Sent: Tuesday, December 25, 2007 12:23 PM > > To: PHP Developers Mailing List > > Subject: [PHP-DEV] Will pay for feature add > > > > If anyone here is experienced enough to help me, I will pay for a > patch > > to allow for multiple class inheritance (class D extends A, B, C) > > against PHP 5.3 CVS. Or if you can just help me get started on writing > > it, I'm sure I could finish myself. I'm just stuck at the basic zend > > class declaration functions. > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php >