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:[EMAIL PROTECTED]
> 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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to