On Wed, 12 Mar 2003, Marcus Boerger wrote:
> helly Tue Mar 11 19:10:00 2003 EDT
>
> Added files:
> /php4/tests/classes interface_class.phpt interface_doubled.phpt
> interface_implemented.phpt
> interface_instantiate.phpt
> interface_member.phpt interface_method.phpt
> interface_method_final.phpt
> interface_method_private.phpt
> interface_must_be_implemented.phpt
> Log:
> Added some interface tests
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.
1. What is the difference between the following:
interface Foo {
}
class Boo extends Foo {
}
and
class Zoo implements Foo {
}
-Andrei http://www.gravitonic.com/
"In this age, which believes that there is a short cut to everything,
the greatest lesson to be learned is that the most difficult way is, in
the long run, the easiest."
-Henry Miller, The Books in My Life
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php