Re: [RFC] Allow trailing comma in function call argument lists
| From: | Sara Golemon | Date: | Wed, 20 Feb 2013 11:01:32 +0000 |
| Subject: | Re: [RFC] Allow trailing comma in function call argument lists | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66052@lists.php.net to get a copy of this message | ||
On Tue, Feb 19, 2013 at 6:51 PM, Sherif Ramadan <theanomaly.is@gmail.com> wrote:
> While I think it's a good idea I just have one question about the
> implication of the change. Does this mean that null will be passed to the
> function argument when a trailing comma remains?
>
No. The trailing comma is simply ignored, there's another RFC up
about default args, but this doesn't intersect with that.