RE: [PHP-DEV] Will pay for feature add
| From: | Sam Barrow | Date: | Wed, 26 Dec 2007 02:53:51 +0000 |
| Subject: | RE: [PHP-DEV] Will pay for feature add | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34253@lists.php.net to get a copy of this message | ||
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
>