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 Deprecated function : Array and string offset access syntax with curly braces is deprecated #46

Open
nbao opened this issue Jun 27, 2021 · 1 comment

Comments

@nbao
Copy link

nbao commented Jun 27, 2021

I got some warning for PHP 7.4 Please fix in filters/FilterASCIIHex.php line 57
$hex .= sprintf("%02x", ord($str{$i}));
to
$hex .= sprintf("%02x", ord($str[$i]));

@samsong
Copy link

samsong commented Jul 12, 2021

Yeah this is easy

search: {$i}
replace: [$i]

This issue is in multiple files by the way. Easy fix

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