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

From: Date: Wed, 08 Apr 2020 13:41:15 +0000
Subject: Re: [RFC][DISCUSSION] Change var_export() array syntax touse short hand arrays
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  Groups: php.internals 
Request: Send a blank email to internals+get-109568@lists.php.net to get a copy of this message
> On Apr 8, 2020, at 08:37, Derick Rethans <derick@php.net> wrote: > > I still believe that none of these options are needed. var_export() has > been added to generate PHP parser readable code. I think it was said earlier, but I'll say it again: having it generate parser-readable code is great, but having it optionally generate pleasantly-readable code (e.g. to be used as $actual in tests) would also be great. -- Paul M. Jones pmjones@pmjones.io http://paul-m-jones.com Modernizing Legacy Applications in PHP https://leanpub.com/mlaphp Solving the N+1 Problem in PHP https://leanpub.com/sn1php

« previous php.internals (#109568) next »