Re: Interface inheritance

From: Date: Mon, 19 Apr 2004 21:46:49 +0000
Subject: Re: Interface inheritance
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-9402@lists.php.net to get a copy of this message
On Apr 19, 2004, at 5:45 PM, George Schlossnagle wrote:
On Apr 19, 2004, at 5:37 PM, Christian Schneider wrote:
George Schlossnagle wrote:
Just to clarify a bit on why I think that we should differentiate: 1. First of all, I agree that in a perfect world we should go with E_COMPILE_ERROR for everything. Maybe now that's constructors are
+1
Are you guys serious about a compile error if I override a method with different parameters? This must be the mailing list of a different language than PHP...
If you override an interface with a different number of parameters or with incorrectly typed parameters, yes.
              ^^^^^^^
make that read 'implement', of course. George

« previous php.internals (#9402) next »