Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109458 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 14530 invoked from network); 30 Mar 2020 17:35:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2020 17:35:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A6BF41801FD for ; Mon, 30 Mar 2020 09:01:18 -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=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NEUTRAL autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS30827 82.113.144.0/21 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Mon, 30 Mar 2020 09:01:17 -0700 (PDT) Received: from [10.1.104.194] (unknown [85.255.234.210]) by xdebug.org (Postfix) with ESMTPSA id 27C5A10C745; Mon, 30 Mar 2020 17:01:16 +0100 (BST) Date: Mon, 30 Mar 2020 17:01:13 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: internals@lists.php.net,Sherif Ramadan ,Dan Ackroyd CC: PHP Internals Message-ID: <41D2792C-8C04-4D91-BB04-767F33E819E3@php.net> Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays From: derick@php.net (Derick Rethans) On 30 March 2020 16:54:55 BST, Sherif Ramadan = wrote: >@Dan Ackroyd > >> Is there any reason to do this change other than aesthetic choice? >> >> >Just because it is aesthetic is not actually an argument against=2E Why >wouldn't you want to improve the aesthetics of PHP? Is it only an >aesthetic >choice, however? =20 I added this function to be able to create a PHP variable structure expres= sed as PHP code, so that the PHP parser can construct it back into variable= structure=2E=20 Aesthetics are irrelevant for a computer=2E=20 This change does not improve anything and only breaks compatibility=2E Bad= idea=2E cheers, Derick