Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109450 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 69247 invoked from network); 30 Mar 2020 13:19:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2020 13:19:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2AB591804B8 for ; Mon, 30 Mar 2020 04:45:00 -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,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-vk1-f171.google.com (mail-vk1-f171.google.com [209.85.221.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 30 Mar 2020 04:44:59 -0700 (PDT) Received: by mail-vk1-f171.google.com with SMTP id s139so4543066vka.13 for ; Mon, 30 Mar 2020 04:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eVFRBvIYerG1v0mhvtrPgxxwFYjJnaOx/N3YIhCeNw0=; b=O9Qq9kkcMM86PPRSn5XD2EEthrLOfZHHYQt+CxvXu8EZglQ7CZDqmj7BjDS9oFlFWt yKyyz88CK2nnS/oQB3z1otuD+tzhLKWHfTAh7jyPMxQ9afKaVewFhYKTu4eVaVVHrqrv TtChXiVhL30sOENeZS/W8b0KylaeEamtW2/hlGS/7Ylkfr8Gw5UV3CvnItDvKBAfH8vn MI3ykKbdT/tfm3eIkZmaNaQgy/h6GdSxNhv0rMciO8aUhl+r5CSk3sKaPNsTLKvilXb1 EV92CUAW2BNGVCQbR2tF/XsCVXIkj0QlvpcaS2YSEbDb9e9QixGG2TP5jGYJbPMBtDRY L54Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eVFRBvIYerG1v0mhvtrPgxxwFYjJnaOx/N3YIhCeNw0=; b=lzpvzRKCSBE+c5eTlok0bUw672QBkjL2Hz54WF0idVS8B/+fXvzpw5Qcuuwzj+waSp EQaurtJjBnQ4VOxcSO5FjthTkPlVWgpnrNnOJ7wFEy5MWCRuI19tie03jqNEB/W4maOs cDo8AwZVP4oP/amVS75VCvDqDsUxWTO2WUcX9O231JMYEUXfKF7ig5ABaWuMR0EwiQKp iHYTgPXwyu3QriS5wnkOesJpsQ3oHWQJnWxq/tg11gycBFWuxlHzEc+MfwyDfuzLPPP2 9QbalLLkfJYRVIWypc7gjUpLKlfMaimQMvwAqMki/IQ6sDuZ0PZoe/Gtil8v+Ol0kcaA 4Yvg== X-Gm-Message-State: AGi0PuYUIiIpUV+BSFmR7zQO13H9d59AX0QNR0ZXSR/TnqrnwB2Yda5b re/rs7i2qHWTQht8QVWx9o8eiINlMMePHHD6QZApmA== X-Google-Smtp-Source: APiQypJ2xiYxpxkSbbper790Px+UEC18t1v+oxZ5WUT8XKXmpgA2lUIjRGZ/1LLxlckS4UPGrEuAh/3qaY9LNS+BSmY= X-Received: by 2002:a1f:200c:: with SMTP id g12mr7026900vkg.84.1585568697718; Mon, 30 Mar 2020 04:44:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 30 Mar 2020 11:44:46 +0000 Message-ID: To: Sherif Ramadan Cc: PHP Internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays From: Danack@basereality.com (Dan Ackroyd) On Sun, 29 Mar 2020 at 18:51, Sherif Ramadan wrote: > > I'm proposing a new RFC to change var_export()'s array syntax to use the > short hand array syntax instead. > "The old array() construct is a kludge and is unappealing." That's an aesthetic choice, which not everyone will agree with. "There shouldn't be any backwards incompatible changes" It apparently breaks 25 tests that compare the output of var_export with an expected version. Userland users who have similar tests will experience similar breaks. Is there any reason to do this change other than aesthetic choice? cheers Dan Ack