ID: 20000 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Won\'t fix Bug Type: Feature/Change Request Operating System: All PHP Version: 4.2.3 New Comment:
Congratulations with the 20000th entry :) Anyway, PHP has aggregation for this: http://php.net/aggregate , and this is the method we chose to implement things like 'multiple inheritence'. Derick Previous Comments: ------------------------------------------------------------------------ [2002-10-20 09:33:18] [EMAIL PROTECTED] In most of the languages child classes can inherit from more than one parent classes (C++, Java). In PHP it is not impossible at the moment, as far as I know. A proposed syntax would be (as in other languages): class childClass extends parClass1, parClass2 { } Obviously, a number of questions may occur, for example, constructors cannot be called automatically in this case, so I suppose this is not a trivial problem. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20000&edit=1
