[wp-trac] [WordPress Trac] #55787: [PHP 8.2] Fix deprecated `${var}` string interpolation syntax

WordPress Trac noreply at wordpress.org
Sat May 21 21:36:34 UTC 2022

#55787: [PHP 8.2] Fix deprecated `${var}` string interpolation syntax
 Reporter:  ayeshrajans   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  minor         |   Keywords:  has-patch php82
  Focuses:                |
 PHP 8.2 deprecates string interpolation patterns that place the dollar
 sign outside the curly braces. This fixes such patterns by replacing them
 with proper curly braced patterns.

  - [https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-
 deprecated PHP.Watch: `${var}` string interpolation deprecated]
  - [https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
 wiki.php.net RFC]

Ticket URL: <https://core.trac.wordpress.org/ticket/55787>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list