Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109568 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 1803 invoked from network); 8 Apr 2020 15:13:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Apr 2020 15:13:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4EED91804C7 for ; Wed, 8 Apr 2020 06:41:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29169 217.70.176.0/20 X-Spam-Virus: No X-Envelope-From: Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 8 Apr 2020 06:41:21 -0700 (PDT) X-Originating-IP: 107.223.28.39 Received: from samurai.attlocal.net (107-223-28-39.lightspeed.nsvltn.sbcglobal.net [107.223.28.39]) (Authenticated sender: pmjones@pmjones.io) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 70181FF805; Wed, 8 Apr 2020 13:41:18 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) In-Reply-To: Date: Wed, 8 Apr 2020 08:41:15 -0500 Cc: Sherif Ramadan , Benjamin Morel , Andrea Faulds , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <44C45213-A783-4F25-91BA-6C7C19900A07@pmjones.io> References: <5e87a7aa.1c69fb81.2e0a2.74daSMTPIN_ADDED_MISSING@mx.google.com> To: Derick Rethans X-Mailer: Apple Mail (2.3608.60.0.2.5) Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Change var_export() array syntax touse short hand arrays From: pmjones@pmjones.io ("Paul M. Jones") > On Apr 8, 2020, at 08:37, Derick Rethans wrote: >=20 > I still believe that none of these options are needed. var_export() = has=20 > 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. --=20 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