Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113174 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 74911 invoked from network); 15 Feb 2021 05:28:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Feb 2021 05:28:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 82D091804B1 for ; Sun, 14 Feb 2021 21:14:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,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-Virus: No X-Envelope-From: Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) (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 ; Sun, 14 Feb 2021 21:14:24 -0800 (PST) Received: by mail-ua1-f45.google.com with SMTP id c44so2001326uad.12 for ; Sun, 14 Feb 2021 21:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=a3Qt7WUJumKM2WgavDrcxpkfNLw8BnT5gTKnfvLEq9Q=; b=WnRsfKWAGE85cYhSOgJ0/5N0qCYGVeMjzU1/59k0Y59qV+OeZnquHnIlCauxo9Xrqe Ne5nUfKMBoIaTcrMtG5adGYDtvi/R1i9aV9wde5vajE71Pm8LC1Nk3kZdb2LinUJSySn 1Q0gjGDUuJ9b0Cd9ngZL3FvoC3vC3r3ypeqYrpVIFrDsePvkGxj1XFtXHwy6cKyqHss3 TKVfX3itikI69NAkP8IYioSR2V4ro4CHapG5zfVikD+bFJQYeA68tR0XL81btV83v03j g504yNqu2jbWlM2s/U96dLA/ZCiy+Qy4kddUeZGsJbZPEYtoEiZMJTBo2ICkb6eRxBzG 73qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=a3Qt7WUJumKM2WgavDrcxpkfNLw8BnT5gTKnfvLEq9Q=; b=qGRmKDOd0Qp7EkKvhCzXDeTj7irHa1a/hg1hi9gPd+JfAr0yg/k52ZbzmpbU82TuKH zjigQjUvGLC8YcnXsyr8iIfLa71ECtx6jUi6uzaxgg1qTbRiMWW7mbVkLzHPAT3kBDY+ 1u9sIcg3X8EsGAD3F4DeHR+oqL4JLqPXEcmrGeS5KeRs3OiEknlhzWd8Ya/7w3zW+N7T m6q8cVMfDx1gTjvc5chpnXEj70n7AqiS67d2szV1BvZOcyORey7CMsS86NgusFLu6JCj F4nNniwTljxXm6wipp7ZOtR+TCVipyxcLikmVKeuq21rRBgH2NH5AtJSwgRqa8CWhL/U 5Dwg== X-Gm-Message-State: AOAM532Y5ioeWPpxMIDtpAJtipE1b+3eb0gJRxKnYlvJXgu1iTFtIKL7 jLUZSmnd0fTCZcEugCRTiF9i2raxFRpCM5elr7bPqWKE X-Google-Smtp-Source: ABdhPJxT9xIJy+4Ei2qBuqWE2EUMYQMFpaeOTkqndCKyMVZWSgbMVVMOnHMfxjHAfRAgOfbEPUrI7dApfhxBaJimiUY= X-Received: by 2002:ab0:73d2:: with SMTP id m18mr7736257uaq.86.1613366061925; Sun, 14 Feb 2021 21:14:21 -0800 (PST) MIME-Version: 1.0 Date: Mon, 15 Feb 2021 00:14:11 -0500 Message-ID: To: Internals Content-Type: multipart/alternative; boundary="00000000000003889a05bb590fc7" Subject: Whitespace around Paamayim Nekudotayim (double colon) From: matthewmatthew@gmail.com (Matthew Brown) --00000000000003889a05bb590fc7 Content-Type: text/plain; charset="UTF-8" Hey all, Is there interest in prohibiting whitespace around double colons in the next major PHP version? I was surprised to learn that PHP treats :: similar to ->, allowing double colons like A:: b(); Looking at the top 2,000 packages in Packagist I can't find any evidence of people using a double colon with whitespace around, and my suspicion is that the use of it is basically non-existent. I wonder if there's a benefit to removing a small potential footgun from the language? I can't really see any benefit to _keeping_ it (unless it turns out my analysis is wrong, and it's actually wildly popular). Best wishes, Matt --00000000000003889a05bb590fc7--