Edit report at https://bugs.php.net/bug.php?id=37345&edit=1
ID: 37345 Comment by: parad0x dot ua at gmail dot com Reported by: gust...@php.net Summary: Multiple inheritance in PHP6 Status: Wont fix Type: Feature/Change Request Package: Feature/Change Request Operating System: * PHP Version: * Block user comment: N Private report: N New Comment: I asked for multiple inheritance and all I got was lousy Traits (PHP >= 5.4): http://php.net/manual/en/language.oop5.traits.php Previous Comments: ------------------------------------------------------------------------ [2006-05-07 09:54:38] he...@php.net . ------------------------------------------------------------------------ [2006-05-07 05:38:29] gust...@php.net Description: ------------ Hi. I know this is not the first time someone requests multiple inheritance in PHP, but I really think you should consider it as interfaces are not always acceptable. For instance, with the current single-inheritance model, if I'm working with the ActiveRecord pattern and want to add some adapter-independant methods, I'd have to copy and paste the _same_ code for each driver/adapter. This is not handy at all. I'd be nice to count with this feature in the next major release. Cheers! Expected result: ---------------- Multiple-inheritance support Actual result: -------------- Single-inheritance support (only) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=37345&edit=1