Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114997 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 76675 invoked from network); 21 Jun 2021 23:10:55 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Jun 2021 23:10:55 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7C38A1804D8 for ; Mon, 21 Jun 2021 16:29:02 -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.0 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GUARANTEED_100_PERCENT, 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-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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, 21 Jun 2021 16:29:02 -0700 (PDT) Received: by mail-lf1-f44.google.com with SMTP id a11so19842395lfg.11 for ; Mon, 21 Jun 2021 16:29:02 -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=9lNEeb+HS7Xn9nuGDIP8rVOqSb4L/K24T4cf6rWWLmA=; b=TNZ7tdTXShFpDTga0dXOn9ltUCwM7HqVNK9XY20ytm6E7w7AsEDGLQ4aPiLUyiCC6A huVRX9s/HZAv0ob7r+fcunNdaFfGx9irEciS0Bz4iLR53lVrD9FfmRBb8NZlaehFT5fp ehtG7T0JfahPc4x97W2PNJZQxMv7K3S05CXfM= 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=9lNEeb+HS7Xn9nuGDIP8rVOqSb4L/K24T4cf6rWWLmA=; b=MMmuJ3pvuw2aYgTPzEgp0bgvnRZkQDzIJu0cNyhhahc73KYXM5PHapoBQzp69uCKQz YRXmgTRevTXSQGBX7P/d155NrKAxs2SbncCORLUcgTlZAU48sFmgPtn2hisQFKhv/g5W 9xO3wRZ1gaXliWiulKpCNwghhJs3zstv4Omk7UC2FzmW2wRCa87dwIWxxgI8KbprxNLm n5MzSnYKOt8zWIqp3o2JeJScBAVyKQmSL3ppdeRwS9eDhxJjIMHvfV3gamj3JHjO507d HF5luUWaXU8uSQ61/ji2Y2HDD/jFRpQsm+t7fMVmKiEXTpoijUunc4/O8atdswYvn6JD C12Q== X-Gm-Message-State: AOAM533TINJJ7XOr3zGkPv2yQL3KLsaSjU0C2DAUz4qG6yRmlBfj7IFx wLczaXgDePxAhdPPPbu1gcixOCHedw+LgE6y6KRuqA== X-Google-Smtp-Source: ABdhPJxhuZEI0OI1c9E4LAPY1dSPALRLw0aNbQD8MIgASo+KBmcnACv9l+9SLknql9P1Fcpd1fgdJ31dA9C8QdtUZnY= X-Received: by 2002:a05:6512:3b99:: with SMTP id g25mr539938lfv.262.1624318139329; Mon, 21 Jun 2021 16:28:59 -0700 (PDT) MIME-Version: 1.0 References: <0CD1762E-6094-4DEB-B1B5-22CFBDAAFF44@php.net> In-Reply-To: Date: Tue, 22 Jun 2021 00:28:48 +0100 Message-ID: To: Benjamin Morel Cc: Derick Rethans , PHP Internals , Yasuo Ohgaki Content-Type: multipart/alternative; boundary="000000000000b2828a05c54f09c5" Subject: Re: [PHP-DEV] [RFC] is_trusted - was is_literal From: craig@craigfrancis.co.uk (Craig Francis) --000000000000b2828a05c54f09c5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 22 Jun 2021 at 12:18 am, Benjamin Morel wrote: > On Tue, 22 Jun 2021 at 01:06, Derick Rethans wrote: > >> On 21 June 2021 23:37:56 BST, Yasuo Ohgaki wrote: >> > >> >The name "is_trusted" is misleading. >> >Literal is nothing but literal. >> >> I agree with this. The name is_trusted is going to be the same naming >> mistake as "safe mode" was. Developers will put their trust in it that i= t >> is 100% guaranteed safe. > > > FWIW, agreed, too. Trusted is vague and may imply some false sense of > security. Literal is literally what it says on the tin. > I can follow up properly tomorrow, but by popular request we do support integers as well (could be seen as stretching the definition of =E2=80=9Cli= teral=E2=80=9D a bit). And we did ask for suggestions last week, which ended up with a vote (as I couldn=E2=80=99t decide). That said, I=E2=80=99m really glad that the only issue we seem to have is t= he name. Craig --000000000000b2828a05c54f09c5--