svn: /phpdoc/ja/trunk/reference/funchand/functions/ call-user-func.xml get-defined-functions.xml register-tick-function.xml
unregister-tick-function.xml
| From: | Yoshinari Takaoka | Date: | Mon, 20 Jan 2020 10:37:43 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/funchand/functions/ call-user-func.xml get-defined-functions.xml register-tick-function.xml unregister-tick-function.xml |
||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5417@lists.php.net to get a copy of this message | ||
mumumu Mon, 20 Jan 2020 10:37:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348965
Log:
updated funchand functions doc translations.
Changed paths:
U phpdoc/ja/trunk/reference/funchand/functions/call-user-func.xml
U phpdoc/ja/trunk/reference/funchand/functions/get-defined-functions.xml
U phpdoc/ja/trunk/reference/funchand/functions/register-tick-function.xml
U phpdoc/ja/trunk/reference/funchand/functions/unregister-tick-function.xml
Modified: phpdoc/ja/trunk/reference/funchand/functions/call-user-func.xml
===================================================================
--- phpdoc/ja/trunk/reference/funchand/functions/call-user-func.xml 2020-01-20 10:35:29 UTC (rev
348964)
+++ phpdoc/ja/trunk/reference/funchand/functions/call-user-func.xml 2020-01-20 10:37:43 UTC (rev
348965)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 340058 Maintainer: takagi Status: ready -->
-<!-- CREDITS: hirokawa -->
+<!-- EN-Revision: 346102 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa,mumumu -->
<refentry xml:id="function.call-user-func" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>call_user_func</refname>
@@ -13,7 +13,6 @@
<methodsynopsis>
<type>mixed</type><methodname>call_user_func</methodname>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
- <methodparam
choice="opt"><type>mixed</type><parameter>parameter</parameter></methodparam>
<methodparam
choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<para>
@@ -35,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>parameter</parameter></term>
+ <term><parameter>...</parameter></term>
<listitem>
<para>
コールバック関数に渡す、ゼロ個以上のパラメータ。
@@ -68,6 +67,7 @@
&example.outputs;
<screen>
<![CDATA[
+Warning: Parameter 1 to increment() expected to be a reference, value given in …
0
1
]]>
@@ -109,6 +109,13 @@
<constant>E_STRICT</constant>
警告が発生していました。静的コールと判断されたからです。
</entry>
</row>
+ <row>
+ <entry>5.3.0</entry>
+ <entry>
+ 参照渡しを期待している関数が呼ばれた場合、
+ <constant>E_WARNING</constant> が発生するようになりました。
+ </entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
Modified: phpdoc/ja/trunk/reference/funchand/functions/get-defined-functions.xml
===================================================================
--- phpdoc/ja/trunk/reference/funchand/functions/get-defined-functions.xml 2020-01-20 10:35:29 UTC
(rev 348964)
+++ phpdoc/ja/trunk/reference/funchand/functions/get-defined-functions.xml 2020-01-20 10:37:43 UTC
(rev 348965)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 341597 Maintainer: hirokawa Status: working -->
-<!-- CREDITS: takagi -->
+<!-- EN-Revision: 344866 Maintainer: hirokawa Status: working -->
+<!-- CREDITS: takagi,mumumu -->
<refentry xml:id="function.get-defined-functions" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>get_defined_functions</refname>
@@ -56,7 +56,7 @@
</thead>
<tbody>
<row>
- <entry>PHP 7.0.15, PHP 7.1.1</entry>
+ <entry>7.0.15, 7.1.1</entry>
<entry>
<parameter>exclude_disabled</parameter>
パラメータが追加されました。
</entry>
Modified: phpdoc/ja/trunk/reference/funchand/functions/register-tick-function.xml
===================================================================
--- phpdoc/ja/trunk/reference/funchand/functions/register-tick-function.xml 2020-01-20 10:35:29 UTC
(rev 348964)
+++ phpdoc/ja/trunk/reference/funchand/functions/register-tick-function.xml 2020-01-20 10:37:43 UTC
(rev 348965)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
-<!-- CREDITS: hirokawa -->
+<!-- EN-Revision: 346902 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa,mumumu -->
<refentry xml:id="function.register-tick-function" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>register_tick_function</refname>
@@ -13,7 +13,6 @@
<methodsynopsis>
<type>bool</type><methodname>register_tick_function</methodname>
<methodparam><type>callable</type><parameter>function</parameter></methodparam>
- <methodparam
choice="opt"><type>mixed</type><parameter>arg</parameter></methodparam>
<methodparam
choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<simpara>
@@ -31,18 +30,11 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
-
関数名を表す文字列、あるいはオブジェクトとメソッドを指定した配列。
+ 登録する関数
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>arg</parameter></term>
- <listitem>
- <para>
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
Modified: phpdoc/ja/trunk/reference/funchand/functions/unregister-tick-function.xml
===================================================================
--- phpdoc/ja/trunk/reference/funchand/functions/unregister-tick-function.xml 2020-01-20 10:35:29
UTC (rev 348964)
+++ phpdoc/ja/trunk/reference/funchand/functions/unregister-tick-function.xml 2020-01-20 10:37:43
UTC (rev 348965)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: takagi -->
+<!-- EN-Revision: 348964 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: takagi,mumumu -->
<refentry xml:id="function.unregister-tick-function" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>unregister_tick_function</refname>
@@ -12,10 +12,10 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>unregister_tick_function</methodname>
-
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
+
<methodparam><type>callable</type><parameter>function</parameter></methodparam>
</methodsynopsis>
<simpara>
- <parameter>function_name</parameter>
という名前の関数の登録を解除します。
+ <parameter>function</parameter>
という名前の関数の登録を解除します。
これにより、<link
linkend="control-structures.declare">tick</link> がコールされた
場合でもこの関数は実行されなくなります。
@@ -27,10 +27,10 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>function_name</parameter></term>
+ <term><parameter>function</parameter></term>
<listitem>
<para>
- 関数名を表す文字列。
+ 登録を解除する関数
</para>
</listitem>
</varlistentry>