Re: [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays
| From: | Derick Rethans | Date: | Mon, 30 Mar 2020 17:42:14 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109467@lists.php.net to get a copy of this message | ||
On Mon, 30 Mar 2020, Chase Peeler wrote:
> Just out of curiosity, is there any reason we couldn't add an optional
> parameter called "$short_array" or whatever that defaults to false?
> Then there shouldn't be any backwards compatibility issues.
And then you'd have to maintain two behaviours, and a flag, and their
test files.
cheers,
Derick