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 8 deprecations #23

Open
Ang3 opened this issue Feb 15, 2022 · 0 comments · May be fixed by #24
Open

PHP 8 deprecations #23

Ang3 opened this issue Feb 15, 2022 · 0 comments · May be fixed by #24

Comments

@Ang3
Copy link

Ang3 commented Feb 15, 2022

Describe the bug

PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated (line 366 and 479).

$len = strlen($str);

if (strlen($replacement) > 1) {

To reproduce

Run the library on PHP8, then try to sanitize a value. You should have some deprecations.

(OPTIONAL) Additional context

  • PHP 8
@soundslocke soundslocke linked a pull request Sep 4, 2022 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