Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109467 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 37574 invoked from network); 30 Mar 2020 19:16:18 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2020 19:16:18 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0ED42180543 for ; Mon, 30 Mar 2020 10:42:17 -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 10:42:16 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 0AA5E10C745; Mon, 30 Mar 2020 18:42:15 +0100 (BST) Date: Mon, 30 Mar 2020 18:42:14 +0100 (BST) X-X-Sender: derick@singlemalt.home.derickrethans.nl To: Chase Peeler cc: Sara Golemon , Benjamin Morel , Sherif Ramadan , PHP Internals In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays From: derick@php.net (Derick Rethans) On Mon, 30 Mar 2020, Chase Peeler wrote: > Just out of curiosity, is there any reason we couldn't add an optional > parameter called "$short_array" or whatever that defaults to false? > Then there shouldn't be any backwards compatibility issues. And then you'd have to maintain two behaviours, and a flag, and their test files. cheers, Derick