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 used to allow both square brackets and curly braces to be used interchangeably for accessing array elements and string offsets. The curly bracket syntax is only allowed in a limited set of cases and can be confusing for people not used to it.
Describe the bug
…curly brace syntax
PHP used to allow both square brackets and curly braces to be used interchangeably for accessing array elements and string offsets. The curly bracket syntax is only allowed in a limited set of cases and can be confusing for people not used to it.
PHP 7.4 will deprecate the curly brace syntax for accessing array elements and string offsets and it is expected that support will be completely removed in PHP 8.0.
Ref: https://wiki.php.net/rfc/deprecate_curly_braces_array_access
See https://core.trac.wordpress.org/ticket/47751.
I have the same issue with
includes/wc-formatting-functions.php
on line 776-778To Reproduce
Steps to reproduce the behavior:
Screenshots
![Screenshot 2020-02-25 at 09 19 13](https://user-images.githubusercontent.com/7713923/75220198-e7519c00-57af-11ea-9c49-711902fa5986.png)
Expected behavior
ClassicPress Environment
N/A
The text was updated successfully, but these errors were encountered: