Skip to content

Commit

Permalink
[PHP 8.4] `print_r\' return type change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesh authored and Girgias committed Nov 17, 2024
1 parent 2537e56 commit 649598d
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion reference/var/functions/print-r.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type class="union"><type>string</type><type>bool</type></type><methodname>print_r</methodname>
<type class="union"><type>string</type><type>true</type></type><methodname>print_r</methodname>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>return</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -67,6 +67,30 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
Return type changed from <type class="union"><type>string</type><type>bool</type></type> to <type class="union"><type>string</type><type>true</type></type>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down

0 comments on commit 649598d

Please sign in to comment.