Re: [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays

From: Date: Mon, 30 Mar 2020 17:18:51 +0000
Subject: Re: [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-109461@lists.php.net to get a copy of this message
On Mon, Mar 30, 2020 at 10:56 AM Sherif Ramadan <theanomaly.is@gmail.com> wrote: > @Sara Golemon <pollita@php.net> > > >> Ditto Danack's question, adding: "Then why not use brick/varexporter?" >> >> -Sara >> > > I punt the question back to you and ask why not use PHP? > > Simple. Because an implementation in script code is more agile, more accessible, and more maintainable in the long term. It's better in every way except default availability. Considering the *1 line* required to make it available in a project, this is not a compelling reason. Conversely, avoiding unnecessary breakage of existing code over a matter of aesthetics IS a compelling reason. Now, will you answer my question? -Sara

« previous php.internals (#109461) next »