Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109455 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 99874 invoked from network); 30 Mar 2020 16:27:17 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2020 16:27:17 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BC5A21804E4 for ; Mon, 30 Mar 2020 07:53:13 -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.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS34788 85.13.163.0/24 X-Spam-Virus: No X-Envelope-From: Received: from dd46610.kasserver.com (dd46610.kasserver.com [85.13.163.220]) (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 ; Mon, 30 Mar 2020 07:53:12 -0700 (PDT) Received: from [192.168.178.23] (x4d03b98e.dyn.telefonica.de [77.3.185.142]) by dd46610.kasserver.com (Postfix) with ESMTPSA id C7DE74340484; Mon, 30 Mar 2020 16:53:10 +0200 (CEST) To: Sara Golemon , Benjamin Morel Cc: Sherif Ramadan , PHP Internals References: Organization: Aimeos GmbH Message-ID: <3864d32d-7eff-7fa7-8db5-0f4086ca645b@aimeos.com> Date: Mon, 30 Mar 2020 16:53:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays From: norbert@aimeos.com (Aimeos | Norbert Sendetzky) Am 30.03.20 um 16:39 schrieb Sara Golemon: >> I don't see a reason not to follow with the short array syntax; the only >>> expectation of people using var_export(), AFAIK, is to get valid PHP code; >>> they don't care about the syntax, >> > If "they" don't care about syntax, then why do you? The output is much easier to read and less cluttered if you do debugging and thus I support Benjamin's proposal. Norbert