Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114993 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 67829 invoked from network); 21 Jun 2021 22:20:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Jun 2021 22:20:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8BCBB1804C3 for ; Mon, 21 Jun 2021 15:38:43 -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.0 required=5.0 tests=BAYES_20,HTML_MESSAGE, T_SPF_HELO_PERMERROR,T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from es-i.jp (gw1.es-i.jp [180.42.98.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 21 Jun 2021 15:38:42 -0700 (PDT) Received: (qmail 41833 invoked by uid 89); 21 Jun 2021 22:38:39 -0000 Received: from unknown (HELO mail-lj1-f172.google.com) (yohgaki@ohgaki.net@209.85.208.172) by 0 with ESMTPA; 21 Jun 2021 22:38:39 -0000 Received: by mail-lj1-f172.google.com with SMTP id s22so27405320ljg.5 for ; Mon, 21 Jun 2021 15:38:38 -0700 (PDT) X-Gm-Message-State: AOAM530ZjgSUZ+NkSTOkgODctR1dVJ0k894OJOPl+kDofmhsgjz1505R 73kmiQmTLtG5WSmkHN+PNtuaR20kvJ+HlVvCaw== X-Google-Smtp-Source: ABdhPJymX1FEi0nrzpiwqqzDjBEcIAQAUhsqFnATvHLJ7+djXyUfaEShlB+mtTsEczhtY1Oc3ZvVAXPP5Txpq1Q/sIA= X-Received: by 2002:a2e:b6c1:: with SMTP id m1mr422219ljo.92.1624315112324; Mon, 21 Jun 2021 15:38:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 22 Jun 2021 07:37:56 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Craig Francis Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000004600fe05c54e55c1" Subject: Re: [PHP-DEV] [RFC] is_trusted - was is_literal From: yohgaki@ohgaki.net (Yasuo Ohgaki) --0000000000004600fe05c54e55c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, The name "is_trusted" is misleading. Literal is nothing but literal. Literals cannot always be trusted. -- Yasuo Ohgaki yohgaki@ohgaki.net On Tue, Jun 22, 2021 at 5:25 AM Craig Francis wrote: > On Sat, 12 Jun 2021 at 18:00, Craig Francis > wrote: > > > I'd like to start the discussion on the is_literal() RFC: > > https://wiki.php.net/rfc/is_literal > > > > > To recap, > > - We have chosen the name is_trusted(), based 18 votes for, vs 3 against. > > - Integers are now included, which will help adoption: > > https://wiki.php.net/rfc/is_literal > > (Joe=E2=80=99s currently updating the implementation to have the new name= , but all > the functionality is there). > > I=E2=80=99m glad this RFC has been well received; and thank you for all t= he > feedback, I really think it=E2=80=98s benefitting the implementation. > > Craig > --0000000000004600fe05c54e55c1--