Re: [RFC] Allow trailing comma in function call argument lists

From: Date: Wed, 20 Feb 2013 11:26:26 +0000
Subject: Re: [RFC] Allow trailing comma in function call argument lists
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Tue, Feb 19, 2013 at 4:06 AM, Sara Golemon <[email protected]> wrote:
> Opening RFC to allow trailing comma in function call argument lists
>
> https://wiki.php.net/rfc/trailing-comma-function-args
>
For the record, I've updated the RFC just now to include
function/method/closure declarations as well:

function foo(
  $bar,
  $baz,
) {

}

Not a pattern I see as much, but for the sake of consistency, it
doesn't hurt to put it on the table for discussion.


Thread (65 messages)

« previous php.internals (#66054) next »