Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110469 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 88337 invoked from network); 10 Jun 2020 19:44:20 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Jun 2020 19:44:20 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B2478180510 for ; Wed, 10 Jun 2020 11:28:20 -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=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 ; Wed, 10 Jun 2020 11:28:20 -0700 (PDT) Received: by mail-ej1-f53.google.com with SMTP id gl26so3668090ejb.11 for ; Wed, 10 Jun 2020 11:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=D/s4t+I5SWS5PYil8TeQGD5fMXmsL2neYYh579DPBIA=; b=fKR6PwEgupnz5Nu9a8cME1AS44/JV9UGXLXjxzbcvRY4WkKpBXfnnAfemm6p5+gPBP QgQRMOlffnuTMrygoXzRTt2b2EpCQDNupLiISDJBz53ZTF2w64CrTKGYuKia30sGL9gn SgC1Sh3zQlHLX8g2sPRNb5rt7OCn+d8gK4JC+HH5e4IXriPjowFPS7KPjZG85Q/ZJ0OS NjyZS5aUDUmZt8vBuLSHby9513DWunHsxTfVJXDcKHHzn7K0vm+PVVGyKpNUI7HIck7G +FanZlJp4lCSIVw5Yl9f/ekrmIYuGaCsxBAy9FKm4rpKUwuSO2AbY2yds0D7tVSuOWxM D9vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=D/s4t+I5SWS5PYil8TeQGD5fMXmsL2neYYh579DPBIA=; b=LctarqPdHQS/5wzUz2l5swS58LfQ9d+H23sflpjQg0OS2ZJWHY5LGlLWNLqTxZgci4 uzTup8JGF5RGOZ4d3xckyUAXmhZwXKPbOPorDfgA7kbH09+4R2t/E2XJ/JwXlE3cmvcA FinUpH91SqI3rTJt9ymk9ZzvGHUuXExZ2iYsCmpOHR+gUO6D8TdakLa6DRbnWuiXWTtT IVqrwbebELxRNU23SQ6yW3wop/UQz3QX/Q7zNTLqww1Og6m2puoy1x+fua6eVBtIE+pq g1U8eUKN8tQF1EA4awQJxHr5sXy4sEqXNsUJeBk+OuVLO3UP8CQtDnz4Phl6lfZgOcDg cezw== X-Gm-Message-State: AOAM531PNe6xzt4/5d7hoWepuxCB5Ifk/Cd38YTiC4r/BGh/swxEqwMR ve7l942DCk03Qumu3mLG81y51BMDWcw= X-Google-Smtp-Source: ABdhPJxFMFY8wcBZxXYcgKlu4Fc0ZRUZUKs+czzKyrwHOZRyaqi8a1C8kK/V722obSPL2G+ZKGGuJw== X-Received: by 2002:a17:906:7802:: with SMTP id u2mr3514461ejm.478.1591813697679; Wed, 10 Jun 2020 11:28:17 -0700 (PDT) Received: from claude.fritz.box ([185.129.55.233]) by smtp.gmail.com with ESMTPSA id dj26sm261773edb.4.2020.06.10.11.28.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jun 2020 11:28:16 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) In-Reply-To: Date: Wed, 10 Jun 2020 20:28:15 +0200 Cc: PHP internals , Kalle Sommer Nielsen Content-Transfer-Encoding: quoted-printable Message-ID: References: To: "G. P. B." X-Mailer: Apple Mail (2.3608.80.23.2.2) Subject: Re: [PHP-DEV][RFC] Rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON From: claude.pache@gmail.com (Claude Pache) Hi, I appreciate the effort to reduce frustration in PHP coding. However, T_PAAMAYIM_NEKUDOTAYIM is a non-issue: you learn it once and = you=E2=80=99re done for the rest of your life. May I suggest an improvement that would be much more useful than = renaming tokens? One parsing error that I still find dreadful after more than 10 years of = PHP coding, is: unexpected T_CONSTANT_ENCAPSED_STRING. Although = T_CONSTANT_ENCAPSED_STRING is like Hebrew for me, I=E2=80=99ve learned = with time that when I get such an error, it means that I=E2=80=99ve most = probably omitted or mistyped some punctuation mark somewhere. However, = PHP is unable to tell me where exactly is the error: it tells only the = line number, and I have to carefully scan the entirely line to find the = place. Sometimes, I resort to split the offending line in several ones, = so that I could get more precise location info. So please, let the parser tell me not only the line of the error, but = also the column. Then, it doesn=E2=80=99t matter how the offending token = is named if you know where it is. =E2=80=94Claude