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
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 {}
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
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
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
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
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