Re: Interface inheritance
| From: | Marcus Boerger | Date: | Mon, 19 Apr 2004 18:44:23 +0000 |
| Subject: | Re: Interface inheritance | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9390@lists.php.net to get a copy of this message | ||
Hello Ferdinand,
Monday, April 19, 2004, 4:10:29 PM, you wrote:
> 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.
Simply decalre thos methos with an empty signature and use the
appropriate functions to handle the arguments?
marcus
--
Best regards,
Marcus mailto:helly@php.net