Skip to content

Commit

Permalink
Fix #80482: Undocumented behavior of array_walk with objects
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351878 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
cmb69 committed Dec 4, 2020
1 parent 8709cac commit 19af072
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion appendices/migration74/incompatible.xml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@
</listitem>
<listitem>
<simpara>
Potentially others working on object properties as a list.
Potentially others working on object properties as a list,
e.g. <function>array_walk</function>.
</simpara>
</listitem>
</itemizedlist>
Expand Down
2 changes: 1 addition & 1 deletion reference/array/functions/array-walk-recursive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>array_walk_recursive</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
<methodparam><type class="union"><type>array</type><type>object</type></type><parameter role="reference">array</parameter></methodparam>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>userdata</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/array/functions/array-walk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>array_walk</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
<methodparam><type class="union"><type>array</type><type>object</type></type><parameter role="reference">array</parameter></methodparam>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>userdata</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
Expand Down

0 comments on commit 19af072

Please sign in to comment.