#37345 [Opn->WFx]: Multiple inheritance in PHP6

From: Date: Sun, 07 May 2006 09:54:38 +0000
Subject: #37345 [Opn->WFx]: Multiple inheritance in PHP6
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96761@lists.php.net to get a copy of this message
ID: 37345 Updated by: helly@php.net Reported By: gustavo@php.net -Status: Open +Status: Wont fix Bug Type: Feature/Change Request -Operating System: Any +Operating System: * -PHP Version: 5.1.4 +PHP Version: * New Comment: . Previous Comments: ------------------------------------------------------------------------ [2006-05-07 05:38:29] gustavo@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 http://bugs.php.net/?id=37345&edit=1

« previous php.bugs (#96761) next »