Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ${var} in strings is deprecated, use {$var} instead (PHP 8.2) #23

Open
Zodiac1978 opened this issue Aug 27, 2024 · 0 comments · May be fixed by #24
Open

Using ${var} in strings is deprecated, use {$var} instead (PHP 8.2) #23

Zodiac1978 opened this issue Aug 27, 2024 · 0 comments · May be fixed by #24

Comments

@Zodiac1978
Copy link

On PHP 8.2+ I see this deprecation warning:

Using ${var} in strings is deprecated, use {$var} instead

This happens here (maybe there are more locations):
https://github.com/soderlind/super-admin-all-sites-menu/blob/main/super-admin-all-sites-menu.php#L441

See: https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated

Zodiac1978 added a commit to Zodiac1978/super-admin-all-sites-menu that referenced this issue Aug 27, 2024
Fixes deprecation warning "Using ${var} in strings is deprecated, use {$var} instead" for PHP 8.2+

Fixes soderlind#23
@Zodiac1978 Zodiac1978 linked a pull request Aug 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant