From 25027c9e44a626e876d7890d3cba5aae99b19a0f Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Tue, 12 Nov 2024 19:51:51 +0100 Subject: [PATCH] Document error change to libxml_set_streams_context() --- .../functions/libxml-set-streams-context.xml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/reference/libxml/functions/libxml-set-streams-context.xml b/reference/libxml/functions/libxml-set-streams-context.xml index df203a0e0257..edda35198cbf 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;