[doc-en] master: Add PHP 8.4.0 changelog entries for SPL, Standard, and Filesystem pages (#5367)

From: Date: Sun, 07 Jun 2026 17:50:25 +0000
Subject: [doc-en] master: Add PHP 8.4.0 changelog entries for SPL, Standard, and Filesystem pages (#5367)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23356@lists.php.net to get a copy of this message
Author: Louis-Arnaud (lacatoire) Committer: GitHub (web-flow) Pusher: jordikroon Date: 2026-06-07T19:50:22+02:00 Commit: https://github.com/php/doc-en/commit/17ebcd2ea14b405b781bd93aea6fa7219b6e29ae Raw diff: https://github.com/php/doc-en/commit/17ebcd2ea14b405b781bd93aea6fa7219b6e29ae.diff Add PHP 8.4.0 changelog entries for SPL, Standard, and Filesystem pages (#5367) * Add PHP 8.4.0 changelog entries for SPL, Standard, and Filesystem pages - SplFixedArray: OutOfBoundsException instead of RuntimeException - debug_zval_dump: now indicates whether an array is packed - tempnam: filename is now 13 bytes longer - unserialize: uppercase S tag is now deprecated Changed paths: M reference/filesystem/functions/tempnam.xml M reference/spl/splfixedarray.xml M reference/var/functions/debug-zval-dump.xml M reference/var/functions/unserialize.xml Diff: diff --git a/reference/filesystem/functions/tempnam.xml b/reference/filesystem/functions/tempnam.xml index 8a28cd0cd328..4dd1be3c3dd7 100644 --- a/reference/filesystem/functions/tempnam.xml +++ b/reference/filesystem/functions/tempnam.xml @@ -70,6 +70,14 @@ </row> </thead> <tbody> + <row> + <entry>8.4.0</entry> + <entry> + The name of files created by <function>tempnam</function> are + now 13 bytes longer. The total length is still + platform-dependent. + </entry> + </row> <row> <entry>7.1.0</entry> <entry> diff --git a/reference/spl/splfixedarray.xml b/reference/spl/splfixedarray.xml index 19f3d9c5aec2..8076050ca901 100644 --- a/reference/spl/splfixedarray.xml +++ b/reference/spl/splfixedarray.xml @@ -67,6 +67,17 @@ </row> </thead> <tbody> + <row> + <entry>8.4.0</entry> + <entry> + Out of bounds accesses in <classname>SplFixedArray</classname> now throw + exceptions of type <exceptionname>OutOfBoundsException</exceptionname> + instead of <exceptionname>RuntimeException</exceptionname>. + Because <exceptionname>OutOfBoundsException</exceptionname> is a child + class of <exceptionname>RuntimeException</exceptionname> no behavioural + changes are exhibited when attempting to catch those exceptions. + </entry> + </row> <row> <entry>8.2.0</entry> <entry> diff --git a/reference/var/functions/debug-zval-dump.xml b/reference/var/functions/debug-zval-dump.xml index 453ba9002588..a270dd5129a8 100644 --- a/reference/var/functions/debug-zval-dump.xml +++ b/reference/var/functions/debug-zval-dump.xml @@ -47,6 +47,30 @@ &return.void; </para> </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>debug_zval_dump</function> now indicates whether an + array is packed. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> diff --git a/reference/var/functions/unserialize.xml b/reference/var/functions/unserialize.xml index 966e1bcc9a8b..0b3128a90124 100644 --- a/reference/var/functions/unserialize.xml +++ b/reference/var/functions/unserialize.xml @@ -172,6 +172,13 @@ element of <parameter>options</parameter> is not an <type>array</type> of class names. </entry> </row> + <row> + <entry>8.4.0</entry> + <entry> + Unserializing strings using the uppercase <literal>"S"</literal> tag + is now deprecated; use the lowercase <literal>"s"</literal> tag instead. + </entry> + </row> <row> <entry>8.3.0</entry> <entry>

« previous php.doc.cvs (#23356) next »