Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114937 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 43704 invoked from network); 18 Jun 2021 05:44:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Jun 2021 05:44:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3FD921804D9 for ; Thu, 17 Jun 2021 23:01:16 -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,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-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.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 ; Thu, 17 Jun 2021 23:01:15 -0700 (PDT) Received: by mail-lj1-f182.google.com with SMTP id x14so12408616ljp.7 for ; Thu, 17 Jun 2021 23:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8ZYkWioW954XhJFWfPtlxvrLz+PJ/t+nUy00/4lkVYI=; b=iWYaW8KGxwIyTrj/KKjkfrXkMBBFTQig6WgcWYxo6OkqebZZI7a6hysh/w8Q3CtLhV EqKvKiTGUx//zlSR7WTP5jO7z93uMTQEpVT9af4gcZQ7RqTrHu1KTRk7tXJeMF6j0b1z D+QULc4uoCccDiaqkWXAy6QGKuKyI3qss3suw= 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; bh=8ZYkWioW954XhJFWfPtlxvrLz+PJ/t+nUy00/4lkVYI=; b=Gf33U+mbGFsT+2/8SrSPI+yUoEG8iuwFWpHeMqzmoObkdxulK3WGKWWcUKXlcmc9wQ R4vLQPLYv2pxBmG4FpciY6ucYTh/o2atpnT89ppfDOia0LSdnvGfVNyNn38GmobYXK/j RPdRDSp+W8khpdd7KMoePAPsv39ztjRjze2sayTLizZAtqaZ4iH/II3R7cn16MY5Ds+6 A806rR6AdurwNZnGIDH1gIV4MpHXVKbUqpNTbBxivsnyWQtaJRwu9+A8xDeA0ZPV0Cxl qFJZnYr4wLeLuDtasRq54MaxoIzUTn3Rw2s5pYNvnoreDNCc/tJOtGoetrptdteqV71f d6bg== X-Gm-Message-State: AOAM530Mo+cThnxd8v6RUb7Ztg9E8PhjcjyRbOreC4c2Z6UBa17JlSr3 TijdTFi0bULxa4gPcw8DqXdaDcF1fVR6i/Es99r6fQ7RQxSqHgnM X-Google-Smtp-Source: ABdhPJy521O0XuynBldXlC2yXQq04EFTLhipCTTW6AHdj2C4jS2MFvRVOPTz3GWLx5aW9N65DTt30buH5R3uR/j4Znc= X-Received: by 2002:a05:651c:49d:: with SMTP id s29mr8102205ljc.279.1623996070824; Thu, 17 Jun 2021 23:01:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 18 Jun 2021 07:00:59 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000eb2f1205c5040c29" Subject: Re: [RFC] is_literal From: craig@craigfrancis.co.uk (Craig Francis) --000000000000eb2f1205c5040c29 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 16 Jun 2021 at 18:24, 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 >> > > Following up on the is_literal() RFC, thanks for the feedback. It looks > like there are only 2 minor open issues - updating the implementation to > allow integers, and what to call the flag/function. > As there=E2=80=99s been no issues raised with supporting integers, and doin= g so will help adoption, the implementation will be updated to allow them. Now to choose the name, with the options is_known() from Joe and is_trusted() from Moritz: https://strawpoll.com/bd2qed2xs Keep in mind it might also become a dedicated type in the future. Craig --000000000000eb2f1205c5040c29--