escpos-tools
escpos-tools copied to clipboard
PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given
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
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.