PHP 8.1 RFC: is_literal
is_literal | |
New Feature | |
PHP 8.1 | |
Declined |
RFC Vote: is_literal
- | |
>= 2/3 | |
Yes: 10No: 23 |
Add the function is_literal()
, a lightweight and effective way to identify if a string was written by a developer, removing the risk of a variable containing an Injection Vulnerability.