Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109461 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 27554 invoked from network); 30 Mar 2020 18:53:06 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2020 18:53:06 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 935121804B8 for ; Mon, 30 Mar 2020 10:19:03 -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.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_SOFTFAIL 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-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (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 10:19:03 -0700 (PDT) Received: by mail-qt1-f182.google.com with SMTP id 10so15785060qtp.1 for ; Mon, 30 Mar 2020 10:19:03 -0700 (PDT) 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=s0FogPBCNu2GmXThS7NfpNzOC0SQTykBodN7ydQ+yPc=; b=mffaJJBRo8oKVhETlnkUips0AyJ95TUtyMYP4S0F0g+4DEs4dnbfi2FmrLTz1SfVKX SHn1ia6ics9sTmUHb9T2WqKD8L/8mITaDIZ9VHeXgPL29sVLD6mr37yVtjAs5lqzQh7n OEYY6LWGinAyW/0xdSWi0bk7vicftL6S0FVVaKdhO58CAlUCGTEsi1PkyxlJ7YFa4bnL vmRAREpaz8Gu3cp/yc+TRt158V74WdtXtMnpxhqaVxh3EP0mG62og48oJuCmOi12cElg 4tc9Tyq6wsF8SFXXdxNJeVfKgW/+Qql0OhPULw+plrBo6D9+7cefG5C8GTkwrVSQZHmd 1GGA== X-Gm-Message-State: ANhLgQ23S/CChou9Kv6ExBYBo1okAq3a4DrYIsfOjpTf/PML8SLPB9We MNPkqHtdEnBY06TetQv7thvpXP5LkMnFFNPyncsr3A== X-Google-Smtp-Source: ADFU+vuep5QMPlF8vwpYdgCmP3aiqQixLEm9J/9OjMj4cowy4u6pYYCU7W1e/NakUse/7MRHqKwF9kgPDwPpUiMRSLY= X-Received: by 2002:ac8:7253:: with SMTP id l19mr1037770qtp.241.1585588742545; Mon, 30 Mar 2020 10:19:02 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 30 Mar 2020 12:18:51 -0500 Message-ID: To: Sherif Ramadan Cc: Benjamin Morel , PHP Internals Content-Type: multipart/alternative; boundary="000000000000c286d005a215a51c" Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Change var_export() array syntax to use short hand arrays From: pollita@php.net (Sara Golemon) --000000000000c286d005a215a51c Content-Type: text/plain; charset="UTF-8" On Mon, Mar 30, 2020 at 10:56 AM Sherif Ramadan wrote: > @Sara Golemon > > >> Ditto Danack's question, adding: "Then why not use brick/varexporter?" >> >> -Sara >> > > I punt the question back to you and ask why not use PHP? > > Simple. Because an implementation in script code is more agile, more accessible, and more maintainable in the long term. It's better in every way except default availability. Considering the *1 line* required to make it available in a project, this is not a compelling reason. Conversely, avoiding unnecessary breakage of existing code over a matter of aesthetics IS a compelling reason. Now, will you answer my question? -Sara --000000000000c286d005a215a51c--