You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP has several ways of embedding variables in strings. One of PHP 8.2 RFCs deprecates two ways of doing so, since they are rarely used, and often lead to confusion:
"Hello ${world}";
Deprecated: Using ${} in strings is deprecated
"Hello ${(world)}";
Deprecated: Using ${} (variable variables) in strings is deprecated
To be clear: the two popular ways of string interpolation still work:
PHP has several ways of embedding variables in strings. One of PHP 8.2 RFCs deprecates two ways of doing so, since they are rarely used, and often lead to confusion:
To be clear: the two popular ways of string interpolation still work:
It looks that
simple_to_complex_string_variable
should fix this problem: https://mlocati.github.io/php-cs-fixer-configurator/#version:3.8|fixer:simple_to_complex_string_variableReferences:
The text was updated successfully, but these errors were encountered: