Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114856 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 17233 invoked from network); 14 Jun 2021 09:20:29 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Jun 2021 09:20:29 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 348A218054D for ; Mon, 14 Jun 2021 02:36: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.7 required=5.0 tests=BAYES_05,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-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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, 14 Jun 2021 02:36:43 -0700 (PDT) Received: by mail-lf1-f52.google.com with SMTP id q20so5213205lfo.2 for ; Mon, 14 Jun 2021 02:36:42 -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 :cc; bh=8DKkaQKkceLLfmJWpDpjNnFYSbABFd2TA1ddUmi0joo=; b=He35a0mlHOJTHDYwWJx36DhasmetZNgSPJkA6X+jZ5lZ8G/sNHSezXOm8ilYoDD3v2 WPH2FwWZM09UR1kUq8HHwynQfh8ytPOZDyCxe6eesDRKyfmvoi8Gsg1pz6Ziv5sqkgk7 0Py49WUxK+4u3XHhJHW31Ue4jE3Zx0dm4qE2c= 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=8DKkaQKkceLLfmJWpDpjNnFYSbABFd2TA1ddUmi0joo=; b=CwrN8t82T/keJ977sCzhBXUli8vRDjm1nmVqt1E+dN46JPNIH3w9t3IYhQsLKaDFE5 JQbstyQLnxBMUBAUCXbrzS+Bkq1OwKxunOO6dHyqe5O+MpLrN9O4ONmmbQwbvOJHpsHD aykUYjyGHX/lS7JV4eHOy5ffFk+q6veF57vvwrMYJM5Cp9urggDhC1jzOavPDZm5LxvS Q9D3YijVJyciYg7bMmviA2jUH/S8S1+skVE6P8V9XuDLQAp2HYYhIzk+MDX02+7UWNlE kuvAigIS5xDo1y9hnrOkk8QYcUQzlOfHTdJTkmwoA9tbCL7udv//9FViaEnBJQMaUrfB k7oA== X-Gm-Message-State: AOAM532zxnaNM6Ph1IM4PhXM/+JnVZfngewbfCXXQJSePID9JdO50gf/ +gD5BW8TilvdVfjjDWLRcUrVgAbP12c4OGwv/7hlRhS6b1sY/wBR X-Google-Smtp-Source: ABdhPJzx+7tkF6AxYZdebMvfwnZoYSQOrarfRO5zA/XyjO5iHpu0ANbxvvzGgRgaiBqwLmgE9IuBciBa2xikI7axc9s= X-Received: by 2002:a05:6512:3b99:: with SMTP id g25mr11236990lfv.262.1623663401239; Mon, 14 Jun 2021 02:36:41 -0700 (PDT) MIME-Version: 1.0 References: <5630B850-23F4-4734-B916-D9E181B491AC@newclarity.net> <429945ed-c328-e3b0-796f-62d7bc1bfe18@processus.org> In-Reply-To: <429945ed-c328-e3b0-796f-62d7bc1bfe18@processus.org> Date: Mon, 14 Jun 2021 10:36:30 +0100 Message-ID: To: Pierre Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000004417ba05c4b69801" Subject: Re: [PHP-DEV] [RFC] is_literal From: craig@craigfrancis.co.uk (Craig Francis) --0000000000004417ba05c4b69801 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 14 Jun 2021 at 09:07, Pierre wrote: > Le 14/06/2021 =C3=A0 02:41, Mike Schinkel a =C3=A9crit : > > A big*NO* on warnings. Full stop. > > [...] Any warning raised by the low level functions would be too > restrictive. > Hi Pierre, I'll be talking to Mike on Zoom later today (5pm UK time), which you're welcome to join. Just to confirm, this RFC is about the literal flag, and giving libraries the ability to use it via the is_literal() function (which I'm glad to hear peoples support for). It does not raise any warnings, or affect native / low-level functions. How the flag can be used in the future, like the dedicated type that someniatko and Joe have suggested, is part of a larger conversation which I'm looking forward to having in the near future. And just to put your mind at ease, I'm very much aware that systems that causes too much noise (false positives) will simply be switched off, which is no use to anyone. Craig --0000000000004417ba05c4b69801--