Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109469 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 40652 invoked from network); 30 Mar 2020 19:19:53 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2020 19:19:53 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 85DB1180564 for ; Mon, 30 Mar 2020 10:45:52 -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:45:52 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id AC6A710C745; Mon, 30 Mar 2020 18:45:51 +0100 (BST) Date: Mon, 30 Mar 2020 18:45:51 +0100 (BST) X-X-Sender: derick@singlemalt.home.derickrethans.nl To: Sherif Ramadan cc: Sara Golemon , Benjamin Morel , 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, Sherif Ramadan wrote: > Given that code is meant for human consumption I have already told you that the output of this function was never meant for human consumption. It was originally added to aid in caching of larger complicated data structure through the likes of apc's opcode cache. cheers, Derick -- PHP 7.4 Release Manager Host of PHP Internals News: https://phpinternals.news Like Xdebug? Consider supporting me: https://xdebug.org/support https://derickrethans.nl | https://xdebug.org | https://dram.io twitter: @derickr and @xdebug