Skip to content

Document libxml changes for PHP 8.4 #4051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions reference/libxml/functions/libxml-set-streams-context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,39 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<simpara>
Throws a <classname>TypeError</classname> when a non-stream resource is
passed to <parameter>context</parameter>.
</simpara>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<function>libxml_set_streams_context</function> now throws a
<exceptionname>TypeError</exceptionname> when a non-stream resource is passed
to <parameter>context</parameter>, instead of throwing later when the
context is used.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
2 changes: 1 addition & 1 deletion reference/libxml/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
&reftitle.required;
<para>
This extension requires <link xlink:href="&url.libxml;">libxml</link> &gt;=
2.9.0 as of PHP 8.0. libxml &gt;= 2.6.0 prior to PHP 8.0.
2.9.4 as of PHP 8.4.0 libxml &gt;= 2.9.0 prior to PHP 8.4.0, and libxml &gt;= 2.6.0 prior to PHP 8.0.0.
</para>
</section>
<!-- }}} -->
Expand Down