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 Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given #79

Open
mariocarro opened this issue Mar 4, 2024 · 1 comment

Comments

@mariocarro
Copy link

Three calls to implode() en esc2html.php at lines 52, 70 and 172 have the parameters in the wrong order, according to https://www.php.net/manual/es/function.implode.php

@jayaddison
Copy link

I'm not a developer of this library, but have encountered te same problem, and I think that it could be due to the removal of the implode(array $array, string $separator): string signature from PHP 8.0 onwards. The pull request at #76 might help to resolve this; I'm going to try that out soon.

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