Skip to content

Commit 17ebcd2

Browse files
authored
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
1 parent acb474e commit 17ebcd2

4 files changed

Lines changed: 50 additions & 0 deletions

File tree

reference/filesystem/functions/tempnam.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@
7070
</row>
7171
</thead>
7272
<tbody>
73+
<row>
74+
<entry>8.4.0</entry>
75+
<entry>
76+
The name of files created by <function>tempnam</function> are
77+
now 13 bytes longer. The total length is still
78+
platform-dependent.
79+
</entry>
80+
</row>
7381
<row>
7482
<entry>7.1.0</entry>
7583
<entry>

reference/spl/splfixedarray.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,17 @@
6767
</row>
6868
</thead>
6969
<tbody>
70+
<row>
71+
<entry>8.4.0</entry>
72+
<entry>
73+
Out of bounds accesses in <classname>SplFixedArray</classname> now throw
74+
exceptions of type <exceptionname>OutOfBoundsException</exceptionname>
75+
instead of <exceptionname>RuntimeException</exceptionname>.
76+
Because <exceptionname>OutOfBoundsException</exceptionname> is a child
77+
class of <exceptionname>RuntimeException</exceptionname> no behavioural
78+
changes are exhibited when attempting to catch those exceptions.
79+
</entry>
80+
</row>
7081
<row>
7182
<entry>8.2.0</entry>
7283
<entry>

reference/var/functions/debug-zval-dump.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,30 @@
4747
&return.void;
4848
</para>
4949
</refsect1>
50+
51+
<refsect1 role="changelog">
52+
&reftitle.changelog;
53+
<informaltable>
54+
<tgroup cols="2">
55+
<thead>
56+
<row>
57+
<entry>&Version;</entry>
58+
<entry>&Description;</entry>
59+
</row>
60+
</thead>
61+
<tbody>
62+
<row>
63+
<entry>8.4.0</entry>
64+
<entry>
65+
<function>debug_zval_dump</function> now indicates whether an
66+
array is packed.
67+
</entry>
68+
</row>
69+
</tbody>
70+
</tgroup>
71+
</informaltable>
72+
</refsect1>
73+
5074
<refsect1 role="examples">
5175
&reftitle.examples;
5276
<para>

reference/var/functions/unserialize.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,13 @@
172172
element of <parameter>options</parameter> is not an <type>array</type> of class names.
173173
</entry>
174174
</row>
175+
<row>
176+
<entry>8.4.0</entry>
177+
<entry>
178+
Unserializing strings using the uppercase <literal>"S"</literal> tag
179+
is now deprecated; use the lowercase <literal>"s"</literal> tag instead.
180+
</entry>
181+
</row>
175182
<row>
176183
<entry>8.3.0</entry>
177184
<entry>

0 commit comments

Comments
 (0)