diff options
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -69,6 +69,12 @@ PHP 8.1 UPGRADE NOTES - Standard: . version_compare() no longer accepts undocumented operator abbreviations. + . htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), + html_entitity_decode() and get_html_translation_table() now use + ENT_QUOTES | ENT_SUBSTITUTE rather than ENT_COMPAT by default. This means + that ' is escaped to ' while previously it was left alone. + Additionally, malformed UTF-8 will be replaced by a Unicode substitution + character, instead of resulting in an empty string. ======================================== 2. New Features |