Re: Interface inheritance

From: Date: Tue, 20 Apr 2004 14:41:24 +0000
Subject: Re: Interface inheritance
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-9420@lists.php.net to get a copy of this message
Andi Gutmans wrote: > And regular old-style inheritance? If you mean class Foo { public function doSomething($a, $b) {} } class Bar extends Foo { public function doSomething($c, $d, $e) {} } by "regular old-style inheritance" then no. It would not make sense to do so in PHP because we don't have multimethod dispatch. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

« previous php.internals (#9420) next »