On Nov 24 11:02:45, Stas Malyshev wrote:
> Hi!
> 
> >Given the semantics of PHP arguments, there is "nothing wrong" with
> >defining a required argument after an optional one, and in some cases
> >it is required. Consider:
> 
> I think there's something wrong with it, primarily - the fact that
> it doesn't really make any sense. The object/null thing is a kludge.
> Unfortunately, I don't see a proper way to handle this without named
> arguments.

Sure, it's hackish as hell, but that's PHP's fault, not the user using
it.

My point is that we shouldn't add new E_STRICTs for something with no
possible alternatives.

> 
> -- 
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227

-- 
Etienne Kneuss
http://www.colder.ch

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to