Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114922 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 33040 invoked from network); 17 Jun 2021 09:31:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Jun 2021 09:31:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 80E0C1804C9 for ; Thu, 17 Jun 2021 02:48:18 -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,NICE_REPLY_A, 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-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 02:48:18 -0700 (PDT) Received: by mail-ed1-f42.google.com with SMTP id t3so3109020edc.7 for ; Thu, 17 Jun 2021 02:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=2uWyBB68I6n3tC9bx/IN1GV0wXueLGRYNE1KPGygZJA=; b=RmByIr8xXCEWp8b65WM8z3tOl99agiPh6PJzBzaIdUh40C0u+auBpn/xJCZX5vEIhi WlbPUJZkpdzIjF4dC2mYUvWKegKUTsg/eQre8/bNZog82qRvTyJjg5jVthIuAzEhQyn3 FyU01/UizIBTp6MRbqe2vtrHQFQM4Hh/BPoKcPQKvbYk6VUnQzROFVYx8oqM/OJZbWtj yqrLXJkFUFkXya33Q/Z4RUntRG91bYLOZWIEfh5v1OJFcdu5tSjNfJ2hV5wUQ8yDHP8B 5LpGAafI75vY7dabkpA4pGtm64CYjVXKBSMwxQ5xZ8OUdsaAY8jJVPkpgHvgnedKeilm hXNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2uWyBB68I6n3tC9bx/IN1GV0wXueLGRYNE1KPGygZJA=; b=XX3DRDamKDA+/rlySJ9S+Ym91oSxESdbf4eixL7tF9ZG+Ts/oM0FyQQ74hUfb5NYEl JYBztCKjsVYG4/bE9LzHB+I8S/tlQ/q+PuJ92bsIyiu0VOYGfpAMWvjQlS2m17LESGC6 qOqDnFdxmlD2RHi97qouY/KeP5EorWuAUpltNugHACk38e1eznjWlu/iQzliHAiCG0O9 2/gPVLMpDSYzj2caElcp6A0OfnT7N+/WOBFgZmb045dC1s/k710B20LW33F0N7FpjraJ Wt4zkVLCurQixSFYJ/1SyD4LZOV+v24vSIhNe0YtzKR5sMrjBQ1tL/0W0HXrwjiu/Ito uphw== X-Gm-Message-State: AOAM530Ni9VWnKNlONwnd2IB06fZsCt/0V8NLNhbFM3z3ULT6uBfOK4P Fmlw2g6PPv2d14/f8pfRADahgQtVmDw= X-Google-Smtp-Source: ABdhPJzuU8S3Yx6CLpknpDjvSLkiO8vK0UonDU0ySEIbeLqZEunUNwccEqcCIZW5VdS4MyUpA9nGOg== X-Received: by 2002:a05:6402:2378:: with SMTP id a24mr5327680eda.161.1623923295141; Thu, 17 Jun 2021 02:48:15 -0700 (PDT) Received: from ?IPv6:2001:983:6fc5:1:49d7:8d77:7cb2:8488? ([2001:983:6fc5:1:49d7:8d77:7cb2:8488]) by smtp.gmail.com with ESMTPSA id o20sm3771775eds.20.2021.06.17.02.48.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Jun 2021 02:48:14 -0700 (PDT) To: PHP Development References: Message-ID: Date: Thu, 17 Jun 2021 11:48:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: [RFC] is_literal From: dik.takken@gmail.com (Dik Takken) On 16-06-2021 23:01, Craig Francis wrote: >> Which leads us to the name, because "is_literal" may be, uh, too literal. >>> So can we come up with something better? >> >> Throwing in another idea: is_hard_coded(). >> > > > I’d be a little hesitant on the name ‘is_hard_coded’, if we allow integers, > that means that it’s no longer strictly hard coded, and might get confusing. > Ah, I was assuming that you were still strictly referring to integer literals, not variables containing integers. Then indeed the name would be confusing. Regards, Dik Takken