Is dependeny symfony/polyfill-mbstring still needed?
Hi, is dependy symfony/polyfill-mbstring still needed? I do not find any reference in the src.
It is still needed because the mbstring extension isn't installed per default and might be missing on the server (see https://www.php.net/manual/en/mbstring.installation.php).
I do not find any reference in the src.
Look for functions starting with mb_ such as mb_convert_encoding here: https://github.com/smalot/pdfparser/blob/master/src/Smalot/PdfParser/Font.php#L188.
Hi, ok, I did not understand correctly how the package works - now I found the relevant code in the polyfill-mbstring repository. So we can ignore it on our end since we have the extension mbstring installed. Would be neither if it could be an either/or-requirement, but I am not sure if composer can do it.
Would be neither if it could be an either/or-requirement, but I am not sure if composer can do it.
If the mbstring extension is installed, the package functions aren't used. They will only, if the mbstring extension isn't available. See third bullet in the following list: https://github.com/symfony/polyfill/blob/1.x/README.md#design-principles