Skip to content

unicodeToHtmlEntities: Fix PHP 8.2 deprecation#272

Open
jtojnar wants to merge 1 commit intomicroformats:mainfrom
jtojnar:wip/jtojnar/mbstring-depr
Open

unicodeToHtmlEntities: Fix PHP 8.2 deprecation#272
jtojnar wants to merge 1 commit intomicroformats:mainfrom
jtojnar:wip/jtojnar/mbstring-depr

Conversation

@jtojnar
Copy link

@jtojnar jtojnar commented Oct 4, 2025

mbstring extension in PHP 8.2 deprecates HTML-ENTITIES encoding:
https://php.watch/versions/8.2/mbstring-qprint-base64-uuencode-html-entities-deprecated

Let’s switch to non-deprecated function:
https://www.php.net/manual/en/function.mb-encode-numericentity.php

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 this pull request may close these issues.

1 participant

Comments