Re: [RFC] Allow trailing comma in function call argument lists
| From: | Florian Anderiasch | Date: | Tue, 19 Feb 2013 18:28:45 +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-65981@lists.php.net to get a copy of this message | ||
On 19.02.2013 13:06, Sara Golemon wrote:
> Opening RFC to allow trailing comma in function call argument lists
>
> https://wiki.php.net/rfc/trailing-comma-function-args
>
For completeness' sake:
The VCS argument is kind of moot if you format your source code like
it's sometimes/often seen in Haskell code:
$fp = fopen( "sample.txt"
, "r+"
);
(but mostly not with function calls, more with data structures afaik)
I know, hardly anyone uses this in PHP, but it's a workaround for the
main reasoning in the RFC.
Personally, I'm +1 :)
Greetings,
Florian