At 14:53 12.03.2003, Andrei Zmievski wrote:
I have 2 questions:
1. Do the interface functions have to be explicitly specified as
abstract?
interface Foo {
function bar();
}
Because this runs fine for me with no errors.
They don't have to (currently) I weote the tests with abstract as i thought
this could be changed.....
1. What is the difference between the following:
interface Foo {
}
class Boo extends Foo {
}
and
class Zoo implements Foo {
}
a class can only extend ONE class/interface but it can implement multiple
interfaces. If you ask me i would not allow extending interfaces at all.
regards
marcus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php