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

PHP 7.4 warnings #13

Open
cwuensche opened this issue Feb 5, 2020 · 1 comment
Open

PHP 7.4 warnings #13

cwuensche opened this issue Feb 5, 2020 · 1 comment

Comments

@cwuensche
Copy link

while (strlen($a) && strlen($b) && strlen($a) > $i && $a{$i} === $b{$i}) {

Warning: Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4. Found: $a{$i}
Warning: Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4. Found: $b{$i}

You can fix this by using $a[$i] and $b[$i] instead of $a{$i} and $b{$i}.

@qcybb
Copy link

qcybb commented Nov 13, 2021

My fork that is fully PHP 8.x compatible :

https://github.com/qcybb/opcache-dashboard-php8

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

No branches or pull requests

2 participants