Re: RFC: var_export - short syntax for array

From: Date: Wed, 21 Aug 2019 08:38:14 +0000
Subject: Re: RFC: var_export - short syntax for array
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-106685@lists.php.net to get a copy of this message
On Wed, Aug 21, 2019 at 10:25 AM Andreas Hennings <andreas@dqxtech.net> wrote: > Avoiding disruption is indeed a concern. > As an example, Drupal 7 features module uses a custom variation of > var_export() to write configuration to code, which is then typically > tracked in git. > Hi Andreas, If the output is being tracked in git, it could follow the same rules as all other code by using a code formatting fixer such as phpcbf. I don't think the responsibility here is the output format of var_export, as it's the developer having control over what's being committed to git. I don't see this as an issue that PHP should solve. Regards, Lynn van der Berg

« previous php.internals (#106685) next »