Re: [PHP-DEV] extending interfaces - fringe behavior

2004-02-16 Thread Marcus Boerger
Hello Hans, Monday, February 16, 2004, 10:07:53 PM, you wrote: > Hi - > Zeev Suraski wrote: >> At 07:55 16/02/2004, Hans Lellelid wrote: >> >>> I have a need in a current application to extend interfaces and >>> possibly re-define (change signature) some of the inherited methods in >>> the ch

Re: [PHP-DEV] extending interfaces - fringe behavior

2004-02-16 Thread Hans Lellelid
Hi - Zeev Suraski wrote: At 07:55 16/02/2004, Hans Lellelid wrote: I have a need in a current application to extend interfaces and possibly re-define (change signature) some of the inherited methods in the child interface. ... You're not supposed to change the signature when you're extending/

Re: [PHP-DEV] extending interfaces - fringe behavior

2004-02-16 Thread Zeev Suraski
At 07:55 16/02/2004, Hans Lellelid wrote: I have a need in a current application to extend interfaces and possibly re-define (change signature) some of the inherited methods in the child interface. e.g. interface Foo { public function __construct(MyCls $var); public function myF

[PHP-DEV] extending interfaces - fringe behavior

2004-02-15 Thread Hans Lellelid
I have a need in a current application to extend interfaces and possibly re-define (change signature) some of the inherited methods in the child interface. e.g. interface Foo { public function __construct(MyCls $var); public function myFunction(); } interface Bar extends Foo {