Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114938 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50790 invoked from network); 18 Jun 2021 07:14:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Jun 2021 07:14:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2D40D1804D8 for ; Fri, 18 Jun 2021 00:32:11 -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,FREEMAIL_FROM, 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-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (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 ; Fri, 18 Jun 2021 00:32:10 -0700 (PDT) Received: by mail-il1-f176.google.com with SMTP id i12so7634728ila.13 for ; Fri, 18 Jun 2021 00:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bEu0vRVDiC8MmP66+CeNT9c/TNwjFQeDF6AFc2DOUPU=; b=cq9DoTn1IsCDEijBjqZJRmzNWMisR9gKF+ytBjOXnCQOMWKJBCVolbrZKJQpQrdpBH wKmyMGbLBwFXutXS1r7pewgI9d5uO3QnXP0lCYLidhj4vJUWTYpztALqrFu5UjkGwPzs 6LNF+CcWLJX12ohlUgsSthjckAcdJDxMoNMJWa0936BHkboNxqRGsWbV97TaQoRe3IwF Svq7GCC1VRZR08sLCsEbRpLqDaTXxBCp7bWY04zD4HCiOrfaG1MbSzauSfZovEoa/HLF U/f+XCedPvOpAtzbRzRF+Jbat46xuPENBuCyN3uJQeo9COEyJS6TyhB93ihv/2B0rFmJ oOXw== 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:content-transfer-encoding; bh=bEu0vRVDiC8MmP66+CeNT9c/TNwjFQeDF6AFc2DOUPU=; b=oGgtueMYsaRsNxIZzSbdOCFNPMPMis5YIcNCGtahyNjm1pzgiaWwuJa+mUk8y/PWJI O6fpBIktwQJLNwGiSLuGcfDmFLrTM8s2hkIs0wA2l0YPzqg5/TJ6SUAthJemz/12fqP9 EbiDHRGNa+5do0tM9GWXJSp2SJYYhESPkVGvWBn9sdmHNm4gpA2ySSV+lHO30+JgKg+G EIzRew6c67H7cbkfQExJc9iPxtz08Z/FTR/mwosUgopjvH662PP6dayrvMVViP7icGxr RNZIGvkm/aM0yFbLWiksPUslvf9vK/t5fabpwJplxgautF1D78Q0RpREpDSzTQcyi97n nROQ== X-Gm-Message-State: AOAM533i9+b69Z0n1gmgIyjnn/gtUXLYVdWcssyzoc0TA7lOi81JSktC BTH5lDfJfeUx/kW9agzBi0kF7JTu+xVgLUrSxA== X-Google-Smtp-Source: ABdhPJzhLcAzxz9b02YAYx4YV21rxTN7S04R48s76SItpO9DG8SDWh6Kck4iQBEhoL3BXJtqQ61cOmdaVzPgoVO8dEo= X-Received: by 2002:a05:6e02:4e:: with SMTP id i14mr6300078ilr.72.1624001529722; Fri, 18 Jun 2021 00:32:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 18 Jun 2021 00:31:54 -0700 Message-ID: To: Craig Francis Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: [RFC] is_literal From: paul.crovella@gmail.com (Paul Crovella) On Thu, Jun 17, 2021 at 11:01 PM Craig Francis w= rote: > > As there=E2=80=99s been no issues raised with supporting integers, and do= ing 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 Someone somewhere will end up writing a function that drops their database when given a 3 that PHP told them to trust.