On Wed, Feb 27, 2008 at 12:05 PM, chetan rane <chetan.d.rane@xxxxxxxxx> wrote: > Hi All > > Dose anyone know how to implement multiple inheritance in PHP 5. > Interfaces dosent work . I have already Tried it. Like Java, PHP5 doesn't have multiple inheritance. It does have multiple interfaces, so I'm not sure what you're doing that won't work with that, but it's available. There is a way to simulate multiple inheritances with PHP5 though. Check out the runkit PECL extension: http://php.net/manual/en/ref.runkit.php And specifically in that extension, the function runkit_class_adopt(): http://www.php.net/manual/en/function.runkit-class-adopt.php -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php