Re: Interface inheritance

From: Date: Mon, 19 Apr 2004 14:10:29 +0000
Subject: Re: Interface inheritance
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9382@lists.php.net to get a copy of this message
On 19 Apr 2004 at 11:49, Zeev Suraski wrote: > Suggested behavior: > Any method that implements (directly or indirectly) an interface method or > an abstract method, will have implementation checks fully enforced, with an > E_COMPILE_ERROR emitted in case of an error. > Behavior for methods that override regular parent methods, that do not have > interface/abstract prototypes, will not change (E_STRICT message). > > Comments welcome - we'd like to sort this out before RC2... I don't like the idea as it does not allow var args to emulate overloaded methods. I repeat myself when I say that IMO such strictness does not fit to PHP's loose character. -- Ferdinand Beyer <fb@fbeyer.com>

« previous php.internals (#9382) next »