Re: [PHP-DEV] interfaces extending multiple interfaces

2004-02-15 Thread Hans Lellelid
Hi - Sebastian Bergmann wrote: Andi Gutmans wrote: Zeev is planning on fixing this. Cool. Interfaces should be allowed to extend other interfaces but not to implement them. interface Bar extends Foo {} works already (at least last time I checked). What I need (and meant) is

Re: [PHP-DEV] interfaces extending multiple interfaces

2004-02-15 Thread Sebastian Bergmann
Hans Lellelid wrote: I thought this was going to be fixed for beta4/RC1, but still seems not to be. Works for me: ?php interface Foo { public function doFoo(); } interface Bar { public function doBar(); } interface Barbara extends Foo, Bar {}

Re: [PHP-DEV] interfaces extending multiple interfaces

2004-02-15 Thread Hans Lellelid
Sebastian Bergmann wrote: Hans Lellelid wrote: I thought this was going to be fixed for beta4/RC1, but still seems not to be. Works for me: Apologies! -- yes, it does work. I was still doing the old Foo implements Foo, Bar which used to work (but never should have). Thanks- Hans -- PHP

Re: [PHP-DEV] interfaces extending multiple interfaces

2004-01-21 Thread Sebastian Bergmann
Andi Gutmans wrote: Zeev is planning on fixing this. Cool. Interfaces should be allowed to extend other interfaces but not to implement them. interface Bar extends Foo {} works already (at least last time I checked). What I need (and meant) is interface Barbara extends Bar, Foo

Re: [PHP-DEV] interfaces extending multiple interfaces

2004-01-20 Thread Andi Gutmans
Zeev is planning on fixing this. Interfaces should be allowed to extend other interfaces but not to implement them. Andi At 04:16 PM 1/16/2004 -0500, Hans Lellelid wrote: Is there any way to have an _interface_ implement or extend multiple interfaces? This was working as of PHP5b3, but seems

[PHP-DEV] interfaces extending multiple interfaces

2004-01-16 Thread Hans Lellelid
Is there any way to have an _interface_ implement or extend multiple interfaces? This was working as of PHP5b3, but seems to work no longer as of latest snapshot I downloaded. The only way to do it before was to have an interface implement other interfaces: interface ExtendFileSelector

Re: [PHP-DEV] interfaces extending multiple interfaces

2004-01-16 Thread Andrey Hristov
Hi, Hans Lellelid wrote: Is there any way to have an _interface_ implement or extend multiple interfaces? This was working as of PHP5b3, but seems to work no longer as of latest snapshot I downloaded. The only way to do it before was to have an interface implement other interfaces: interface