svn: /phpdoc/ja/trunk/ appendices/migration74/incompatible.xml reference/array/functions/array-walk-recursive.xml reference/array/functions/array-walk.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Sat, 05 Dec 2020 11:43:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351897
Log:
Fix #80482: Undocumented behavior of array_walk with objects
Bug: https://bugs.php.net/80482 (Closed) Undocumented behavior of array_walk with objects
Changed paths:
U phpdoc/ja/trunk/appendices/migration74/incompatible.xml
U phpdoc/ja/trunk/reference/array/functions/array-walk-recursive.xml
U phpdoc/ja/trunk/reference/array/functions/array-walk.xml
Modified: phpdoc/ja/trunk/appendices/migration74/incompatible.xml
===================================================================
--- phpdoc/ja/trunk/appendices/migration74/incompatible.xml 2020-12-05 11:38:47 UTC (rev 351896)
+++ phpdoc/ja/trunk/appendices/migration74/incompatible.xml 2020-12-05 11:43:03 UTC (rev 351897)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350707 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351878 Maintainer: mumumu Status: ready -->
<sect1 xml:id="migration74.incompatible" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>下位互換性のない変更点</title>
@@ -294,6 +294,7 @@
<listitem>
<simpara>
オブジェクトのプロパティをリストとして扱うその他の操作も、影響を受ける可能性があります。
+ たとえば <function>array_walk</function> 関数が挙げられます。
</simpara>
</listitem>
</itemizedlist>
Modified: phpdoc/ja/trunk/reference/array/functions/array-walk-recursive.xml
===================================================================
--- phpdoc/ja/trunk/reference/array/functions/array-walk-recursive.xml 2020-12-05 11:38:47 UTC (rev 351896)
+++ phpdoc/ja/trunk/reference/array/functions/array-walk-recursive.xml 2020-12-05 11:43:03 UTC (rev 351897)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350788 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351878 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.array-walk-recursive" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,7 +11,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>
Modified: phpdoc/ja/trunk/reference/array/functions/array-walk.xml
===================================================================
--- phpdoc/ja/trunk/reference/array/functions/array-walk.xml 2020-12-05 11:38:47 UTC (rev 351896)
+++ phpdoc/ja/trunk/reference/array/functions/array-walk.xml 2020-12-05 11:43:03 UTC (rev 351897)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350788 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351878 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa,shimooka,mumumu -->
<refentry xml:id="function.array-walk" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,7 +11,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>