Re: cvs: 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

From: Date: Wed, 12 Mar 2003 13:53:18 +0000
Subject: Re: cvs: 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
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-95046@lists.php.net to get a copy of this message
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

« previous php.dev (#95046) next »