Re: Re: [RFC] is_literal

From: Date: Thu, 17 Jun 2021 09:48:13 +0000
Subject: Re: Re: [RFC] is_literal
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-114922@lists.php.net to get a copy of this message
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


Thread (69 messages)

« previous php.internals (#114922) next »