Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34252 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60895 invoked by uid 1010); 26 Dec 2007 01:39:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60880 invoked from network); 26 Dec 2007 01:39:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Dec 2007 01:39:11 -0000 Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:21736] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/E1-43924-EB0B1774 for ; Tue, 25 Dec 2007 20:39:10 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Dec 2007 03:39:07 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 25 Dec 2007 17:39:02 -0800 Message-ID: <698DE66518E7CA45812BD18E807866CE01103262@us-ex1.zend.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] Will pay for feature add Thread-Index: AchHNCbA7I5ocD1sQnWSzkkZaM2PkAAK36UA References: <1198614204.6325.3.camel@sam-desktop> To: "Sam Barrow" , "PHP Developers Mailing List" X-OriginalArrivalTime: 26 Dec 2007 01:39:07.0167 (UTC) FILETIME=[1AC5EAF0:01C84760] Subject: RE: [PHP-DEV] Will pay for feature add From: andi@zend.com ("Andi Gutmans") 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 >=20 > 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. >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php