On Tue, Sep 10, 2013 at 11:19 AM, Rasmus Lerdorf <ras...@lerdorf.com> wrote:
> I think you are over-thinking this case actually. I would prefer to just > keep it simple. If someone does a named parameter call to a method that > doesn't have a parameter with a specified parameter it is an error, > regardless of how that came to be. If there is a parent method with the > parameter name, it doesn't matter since that is not the method they are > calling. Just keep it simple and generate an error just on that call. > The fix for the user in this case may very well be to go and make the > parameter names match the parent method, but let them worry about that. > > -Rasmus Thanks, this makes more sense to me, and is surely a less complicated implementation. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php