summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING6
1 files changed, 6 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 1b2fafcbc7..3c0939796e 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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