diff --git a/reference/mbstring/functions/mb-internal-encoding.xml b/reference/mbstring/functions/mb-internal-encoding.xml
index fcc4ee0fe9..00261a2402 100644
--- a/reference/mbstring/functions/mb-internal-encoding.xml
+++ b/reference/mbstring/functions/mb-internal-encoding.xml
@@ -48,6 +48,15 @@
+
+ &reftitle.errors;
+
+ As of PHP 8.0.0, a ValueError is thrown if the
+ value of encoding is an invalid encoding.
+ Prior to PHP 8.0.0, a E_WARNING was emitted instead.
+
+
+
&reftitle.changelog;
@@ -60,6 +69,14 @@
&mbstring.changelog.encoding-nullable;
+
+ 8.0.0
+
+ Now throws a ValueError if
+ encoding is an invalid encoding.
+ Previously a E_WARNING was emitted instead.
+
+