Note that PHP 8.2 implemented this deprecation:
Using ${var} in strings is deprecated, use {$var} instead
This change fixes some known cases.
Ref T15196
Differential D25098
PHP 8.2: fixes for deprecated use of ${var} in strings valerio.bozzolan on Mar 26 2023, 14:42. Authored by
Details
Note that PHP 8.2 implemented this deprecation: Using ${var} in strings is deprecated, use {$var} instead This change fixes some known cases. Ref T15196
Diff Detail
Event TimelineComment Actions Thanks @avivey honestly it was interesting and deeply connected to a scary PHP internal travel: if I understand correctly, "id" is considered a constant and expanded as the "id" string for backward compatibility reasons. Then, ${} expands that. |