PHP RFC: Allow a trailing comma in function calls

PHP RFC: Allow a trailing comma in function calls

Introduction

Proposal

Frequent Context Examples

Unsetting variables

Sending variables to a template engine

Merging arrays

Debugging all the things

i18n & l10n

And so on...

Method & closure calls too

"Not really a function" functions as well

Wait, didn't we just vote on this?

Backward Incompatible Changes

Proposed PHP Version(s)

What's not allowed

Proposed Voting Choices

Patches and Tests

Implementation

Comments

Popular posts from this blog

A Tailwind CSS Preset for Laravel 5.5

Short and safe array iteration

PHPStorm's performance