On 18 April 2012 01:23, Jordi Boggiano <j.boggi...@seld.be> wrote: > On 18.04.2012 00:54, Stas Malyshev wrote:
>> https://wiki.php.net/rfc/skipparams >> >> Basically, it allows you to do this: >> >> create_query("deleted=0", "name",,, /*report_errors*/ true); +1 > - Would it be possible to allow trailing commas in combination to this? > i.e. foo("arg",) would just call foo with "arg" and then the default > value for the second arg if there is one, or just nothing. That would > make multi-line function calls a bit cleaner, and more similar to arrays. Yet another +1! -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php