File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: e587d0655e426f97b3fcb431453da5030e743b23 Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: eac9eff7b66d8c2b168c25c72de0422126daf8cb Maintainer: takagi Status: ready -->
44<!-- Credits: mumumu -->
55<sect1 xml : id =" language.types.callable" >
66 <title >コールバック / Callable</title >
2020 <title >受け渡し</title >
2121
2222 <para >
23- PHP 関数はその名前を単に文字列として渡します。
23+ PHP 関数はその名前を単に文字列、または
24+ <link linkend =" functions.first_class_callable_syntax" >第一級callable</link >
25+ として渡します。
2426 どのようなビルトインまたはユーザー定義の関数も渡すことができます。
2527 ただし、
2628 <function >array</function >, <function >echo</function >,
@@ -128,7 +130,7 @@ call_user_func($c, 'PHP!');
128130 <para >
129131 <example >
130132 <title >
131- クロージャを使ったコールバックの例
133+ クロージャ (< classname >Closure</ classname >) を使ったコールバックの例
132134 </title >
133135 <programlisting role =" php" >
134136<![CDATA[
You can’t perform that action at this time.
0 commit comments