#3585 closed defect (bug) (fixed)
Function utf8_encode() is deprecated since PHP 8.2
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6.14 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Tools - Warnings/Notices | Keywords: | commit |
| Cc: |
Description
PHPCS running on PHP v8.2 gives us the following warning:
Function utf8_encode() is deprecated since PHP 8.2; Use mb_convert_encoding(), UConverter::transcode() or iconv instead (PHPCompatibility.FunctionUse.RemovedFunctions.utf8_encodeDeprecated)
It affects two places:
- includes/replies/template.php:1103
- includes/topics/template.php:1336
Change History (4)
Note: See
TracTickets for help on using
tickets.