diff --git a/reference/libxml/functions/libxml-set-streams-context.xml b/reference/libxml/functions/libxml-set-streams-context.xml
index df203a0e0257..99e746d52527 100644
--- a/reference/libxml/functions/libxml-set-streams-context.xml
+++ b/reference/libxml/functions/libxml-set-streams-context.xml
@@ -42,6 +42,39 @@
+
+ &reftitle.errors;
+
+ Throws a TypeError when a non-stream resource is
+ passed to context.
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ 8.4.0
+
+ libxml_set_streams_context now throws a
+ TypeError when a non-stream resource is passed
+ to context, instead of throwing later when the
+ context is used.
+
+
+
+
+
+
+
&reftitle.examples;
diff --git a/reference/libxml/setup.xml b/reference/libxml/setup.xml
index 4dd4191b1fcf..e0b395d5f07c 100644
--- a/reference/libxml/setup.xml
+++ b/reference/libxml/setup.xml
@@ -9,7 +9,7 @@
&reftitle.required;
This extension requires libxml >=
- 2.9.0 as of PHP 8.0. libxml >= 2.6.0 prior to PHP 8.0.
+ 2.9.4 as of PHP 8.4.0 libxml >= 2.9.0 prior to PHP 8.4.0, and libxml >= 2.6.0 prior to PHP 8.0.0.