Am 14.01.2015 um 20:21 schrieb Adam Harvey:
On 14 January 2015 at 11:15, Marc Bennewitz <dev@mabe.berlin> wrote:
But 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.

OMG you are right - my fault


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



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

Reply via email to