diff --git a/reference/strings/functions/hex2bin.xml b/reference/strings/functions/hex2bin.xml
index d8a62e5991..761d0e0db3 100644
--- a/reference/strings/functions/hex2bin.xml
+++ b/reference/strings/functions/hex2bin.xml
@@ -48,8 +48,8 @@
&reftitle.errors;
- If the hexadecimal input string is of odd length an E_WARNING
- level error is thrown.
+ If the hexadecimal input string is of odd length or invalid hexadecimal string
+ an E_WARNING level error is thrown.
@@ -65,6 +65,12 @@
+
+ 5.5.1
+
+ A warning is thrown if the input string is invalid hexadecimal string.
+
+
5.4.1