-
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
What is this feature about (expected vs actual behaviour)?
Portable UTF-8 is using utf8_encode which is deprecated in PHP 8.2 and should be replaced: https://php.watch/versions/8.2/utf8_encode-utf8_decode-deprecated
portable-utf8/src/voku/helper/UTF8.php
Lines 13303 to 13305 in ce72331
| /** @noinspection PhpUsageOfSilenceOperatorInspection | TODO for PHP > 8.2: find a replacement for this */ | |
| /** @var false|string $str - the polyfill maybe return false */ | |
| $str = @\utf8_encode($str); |
Does it take minutes, hours or days to fix?
Minutes. Replacement-functions for utf8_encode are listed here: https://php.watch/versions/8.2/utf8_encode-utf8_decode-deprecated#utf8_encode-replace
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels