Re: [RFC] Allow trailing comma in function call argument lists
| From: | Sara Golemon | 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 internals+get-66054@lists.php.net to get a copy of this message | ||
On Tue, Feb 19, 2013 at 4:06 AM, Sara Golemon <pollita@php.net> 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.