Re: [RFC] is_literal
From: Lauri Kenttä Date: Sat, 12 Jun 2021 18:59:23 +0000 Subject: Re: [RFC] is_literal References: 1 Groups: php.internals Request: Send a blank email to internals+get-114837@lists.php.net to get a copy of this message
Hi,
I wrote the untaint() / make_literal() function, just in case.
implode("", array_map(fn($c) => $chars[ord($c)], str_split($s, 1)))
https://3v4l.org/EaN9Z#focus=rfc.literals
Sorry and bye.
--
Lauri Kenttä
Thread (69 messages)
| « previous | php.internals (#114837) | next » |
|---|