Re: [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays
| From: | Derick Rethans | Date: | Mon, 30 Mar 2020 16:01:13 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109458@lists.php.net to get a copy of this message | ||
On 30 March 2020 16:54:55 BST, Sherif Ramadan <theanomaly.is@gmail.com> wrote:
>@Dan Ackroyd <danack@basereality.com>
>
>> Is there any reason to do this change other than aesthetic choice?
>>
>>
>Just because it is aesthetic is not actually an argument against. Why
>wouldn't you want to improve the aesthetics of PHP? Is it only an
>aesthetic
>choice, however?
I added this function to be able to create a PHP variable structure expressed as PHP code, so that
the PHP parser can construct it back into variable structure.
Aesthetics are irrelevant for a computer.
This change does not improve anything and only breaks compatibility. Bad idea.
cheers,
Derick