From:             [EMAIL PROTECTED]
Operating system: All
PHP version:      4.2.3
PHP Bug Type:     Feature/Change Request
Bug description:  Classes: extend from more than one parent

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 bug report at http://bugs.php.net/?id=20000&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20000&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20000&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20000&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20000&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20000&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20000&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20000&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20000&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20000&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20000&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20000&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20000&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20000&r=isapi

Reply via email to