Re: [RFC] Skipping parameters take 2
From: Marc Bennewitz Date: Wed, 14 Jan 2015 19:50:38 +0000 Subject: Re: [RFC] Skipping parameters take 2 References: 1 2 3 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
Am 14.01.2015 um 20:21 schrieb Adam Harvey:On 14 January 2015 at 11:15, Marc Bennewitz <[email protected]> wrote:OMG you are right - my faultBut I think adding "default" as new keyword is a big BC break!Default already is a keyword: http://php.net/switch. There's no BC break.I personally also don't like it and asked myself why can't the parameter simply skipped?That was in the original proposal, but counting commas is pretty lousy if you're skipping more than one or two parameters. Having a keyword makes it more readable. Adam
Thread (69 messages)
« previous | php.internals (#80484) | next » |
---|