PHP 8,2 compatible? ${var}-string-interpolation-deprecated
-
${var}-string-interpolation-deprecated
in php 8.2 the class-wp-import.php line 954
${$meta[‘key’]} = $meta[‘value’];
Triggers a deprecation notification.
https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated
Should this be changed to ?
{${$meta[‘key’]}} = $meta[‘value’];
or
{$$meta[‘key’]} = $meta[‘value’];
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 8,2 compatible? ${var}-string-interpolation-deprecated’ is closed to new replies.