Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109586 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 41567 invoked from network); 10 Apr 2020 00:16:28 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Apr 2020 00:16:28 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 63B251804DD for ; Thu, 9 Apr 2020 15:44:56 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-ua1-f43.google.com (mail-ua1-f43.google.com [209.85.222.43]) (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 ; Thu, 9 Apr 2020 15:44:55 -0700 (PDT) Received: by mail-ua1-f43.google.com with SMTP id i22so51018uak.6 for ; Thu, 09 Apr 2020 15:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N25Y3KrDta4t5vIXNQt9Z+uZuni+0Dcwvnwk30EOnUs=; b=O0h7wHSrOdkyNZmuhbGrjM3SnDt1tTAWsLdA5Y4rHaYosT+DDLKGhueOsLCAAMpsA7 hF9kkqlpDAG+0/Z40N8dK2PlAI/nAIcrOussCmUQTutR3xLZu6mqlxNG9YqlKZxxLrEU 0MxxUiffccI1B6Z9xd0koVC/acrO6gv0PkVXoVEjcvqoN0npnbe4WsAM+FeMjwHiidPU JIr7rlksBXb7LiMpqnHZqev59GnjOnB1EiVwk8cd6wCQn6bVYidMoK9F1fShlAs9MCkW +kLqVMUyRMx0EYAhh3KDfPQjiSQyYvFO4nJ0bcw/Tw98CnkXDDIjW6uNNm7T4YWv43rj G3Ig== 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=N25Y3KrDta4t5vIXNQt9Z+uZuni+0Dcwvnwk30EOnUs=; b=UCTSr6wQqOh5v4WqRJmgI4pFil74Yzp+VMsGbPi+fadJawmHxHMzBFBzn63RxwYlcH 2Pp6fRo4kCe2/HMTT9Y+WqkWcZO2QaJ6p3MBZCZKxnpOV3wcTtbPkfMv2qO6rlsAIlrT 14bgF5FVKMkZpgxwwWbgMMjaiqM3ahj3iEkHB+8zryBAbmEhGkA6uPkVIhATrhRv5IWC +QI/2Bmue3bRiwUIqJXw/kf+WfZV0wmQwWODZN2UMgN2lvRrbP3yjAp0bLa8fIHI3tcO SrH59FHE/BSxlFqCYZBaZCrR3EPiDXoLA5FvqxlIuGQyuwqZLfnVbVnUjeq0UjqCybgA cgZg== X-Gm-Message-State: AGi0PubIjq4lE5XxBjg9APTsOEcBt2WjNbC3iuvvQVeEtumEv4cPKITN mJuqEcuIn0EVRTP7pFPmj6Q2myzNnIx9O0/qkGc= X-Google-Smtp-Source: APiQypIy7BUAhQj/N6PIIiTGYNnGJm0wsfpNSGMf0xDkEQvBa/RXkrum2IiYUpnWiOIo8/Zh+THkhOPHUqx8Oyy4Dio= X-Received: by 2002:ab0:7604:: with SMTP id o4mr1154008uap.31.1586472293295; Thu, 09 Apr 2020 15:44:53 -0700 (PDT) MIME-Version: 1.0 References: <5e87a7aa.1c69fb81.2e0a2.74daSMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: Date: Thu, 9 Apr 2020 18:44:41 -0400 Message-ID: To: Guilliam Xavier Cc: Andrea Faulds , PHP Internals Content-Type: multipart/alternative; boundary="0000000000007ce7f905a2e35d24" Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Change var_export() array syntax touse short hand arrays From: theanomaly.is@gmail.com (Sherif Ramadan) --0000000000007ce7f905a2e35d24 Content-Type: text/plain; charset="UTF-8" > > > I have no strong opinion > either way, but anyway it cannot work as is, because var_export > already has a second optional parameter (bool $return = false). > Yes, I meant the third argument. I updated the RFC to reflect that. Sorry. > Moreover the RFC currently says that var_export([1, 2, 3]) produces > ``` > array(1, 2, 3) > ``` > but it actually produces > ``` > array ( > 0 => 1, > 1 => 2, > 2 => 3, > ) > ``` > > Also true, I fixed this in the RFC as well and sorry for the confusion. > Regards, > > -- > Guilliam Xavier > --0000000000007ce7f905a2e35d24--