Re: Re: [RFC] is_literal

From: Date: Fri, 18 Jun 2021 08:48:04 +0000
Subject: Re: Re: [RFC] is_literal
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-114940@lists.php.net to get a copy of this message

On 18.06.21 08:00, Craig Francis wrote:
On Wed, 16 Jun 2021 at 18:24, Craig Francis <craig@craigfrancis.co.uk> wrote:
On Sat, 12 Jun 2021 at 18:00, Craig Francis <craig@craigfrancis.co.uk> wrote:
I'd like to start the discussion on the is_literal() RFC: https://wiki.php.net/rfc/is_literal
Following up on the is_literal() RFC, thanks for the feedback. It looks like there are only 2 minor open issues - updating the implementation to allow integers, and what to call the flag/function.
As there’s been no issues raised with supporting integers, and doing so will help adoption, the implementation will be updated to allow them.
Not sure but what happens if you have like a DB connection in big5, sjis, ... and add an integer as ASCII char into it? But that's the only edge case I can think of.
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


Thread (69 messages)

« previous php.internals (#114940) next »