« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 138 for invoke (0.005 sec.)
関数を起動する 9642
« ReflectionFunction::getClosure ReflectionFunction::invokeArgs » PHP Manual ReflectionFunction 関数を起動する 検索 ReflectionFunction::invoke (PHP 5, PHP 7, PHP 8) ReflectionFunction::invoke — 関数を起動する 説明 public function Reflection ... Function::invoke ( mixed ...$args ): mixed 調べた関数を起動します。 パラメータ args 渡す引数のリスト。可変長の引数を指定でき、 call_user_fu ... nc() と同じようにして関数に渡されます。 戻り値 起動した関数の結果を返します。 例 例1 ReflectionFunction::invoke() の例 <?php function title ( $title , $name ) { return sprintf ( "%s. %s\r\n" , $title , $name ); } $function = new Refle ... ctionFunction ( 'title' ); echo $function -> invoke ( 'Dr' , 'Phil' ); ?> 上の例の出力は以下となります。 Dr. Phil 注意 注意 : ReflectionFunction::invoke() は、 リファレンスが ...
https://man.mtool.work/php/8.3/reflectionfunction.invoke.html
関数を起動する 9642
« ReflectionFunction::getClosure ReflectionFunction::invokeArgs » PHP Manual ReflectionFunction 関数を起動する 検索 ReflectionFunction::invoke (PHP 5, PHP 7, PHP 8) ReflectionFunction::invoke — 関数を起動する 説明 public function Reflection ... Function::invoke ( mixed ...$args ): mixed 調べた関数を起動します。 パラメータ args 渡す引数のリスト。可変長の引数を指定でき、 call_user_fu ... nc() と同じようにして関数に渡されます。 戻り値 起動した関数の結果を返します。 例 例1 ReflectionFunction::invoke() の例 <?php function title ( $title , $name ) { return sprintf ( "%s. %s\r\n" , $title , $name ); } $function = new Refle ... ctionFunction ( 'title' ); echo $function -> invoke ( 'Dr' , 'Phil' ); ?> 上の例の出力は以下となります。 Dr. Phil 注意 注意 : ReflectionFunction::invoke() は、 リファレンスが ...
https://man.mtool.work/php/8.3/reflectionfunction.invoke.html
実行する 9259
« ReflectionMethod::hasPrototype ReflectionMethod::invokeArgs » PHP Manual ReflectionMethod 実行する 検索 ReflectionMethod::invoke (PHP 5, PHP 7, PHP 8) ReflectionMethod::invoke — 実行する 説明 public function ReflectionMethod::invoke ( ? o ... ReflectionException が発生します。 メソッドの実行に失敗すると ReflectionException が発生します。 例 例1 ReflectionMethod::invoke() の例 <?php class HelloWorld { public function sayHelloTo ( $name ) { return 'Hello ' . $name ; } } $reflectionMethod = n ... ew ReflectionMethod ( 'HelloWorld' , 'sayHelloTo' ); echo $reflectionMethod -> invoke (new HelloWorld (), 'Mike' ); ?> 上の例の出力は以下となります。 Hello Mike 注意 注意 : ReflectionMethod::invoke() は、 リフ ... ァレンスが引数に期待されている場合は使えません。 その場合は、(引数リストにリファレンスを渡して) ReflectionMethod::invokeArgs() を代わりに使うべきです。 参考 ReflectionMethod::invokeArgs() - 実行する __invoke() call_user_func() - 最初の引数で指 ...
https://man.mtool.work/php/8.3/reflectionmethod.invoke.html
実行する 9259
« ReflectionMethod::hasPrototype ReflectionMethod::invokeArgs » PHP Manual ReflectionMethod 実行する 検索 ReflectionMethod::invoke (PHP 5, PHP 7, PHP 8) ReflectionMethod::invoke — 実行する 説明 public function ReflectionMethod::invoke ( ? o ... ReflectionException が発生します。 メソッドの実行に失敗すると ReflectionException が発生します。 例 例1 ReflectionMethod::invoke() の例 <?php class HelloWorld { public function sayHelloTo ( $name ) { return 'Hello ' . $name ; } } $reflectionMethod = n ... ew ReflectionMethod ( 'HelloWorld' , 'sayHelloTo' ); echo $reflectionMethod -> invoke (new HelloWorld (), 'Mike' ); ?> 上の例の出力は以下となります。 Hello Mike 注意 注意 : ReflectionMethod::invoke() は、 リフ ... ァレンスが引数に期待されている場合は使えません。 その場合は、(引数リストにリファレンスを渡して) ReflectionMethod::invokeArgs() を代わりに使うべきです。 参考 ReflectionMethod::invokeArgs() - 実行する __invoke() call_user_func() - 最初の引数で指 ...
https://man.mtool.work/php/8.3/reflectionmethod.invoke.html
Synchronization 8697
« parallel\Sync::notify pthreads » PHP Manual parallel\Sync Synchronization 検索 parallel\Sync::__invoke (1.1.0) parallel\Sync::__invoke — Synchronization 説明 public function parallel\Sync::__invoke ( callable $critical ) Shall exclusively ... enter into the critical code 関連キーワード: parallel Sync Synchronization invoke notify pthreads callable exclusively code ...
https://man.mtool.work/php/8.3/parallel-sync.invoke.html
CQL Execution 8637
« CommonMark\CQL::__construct CommonMark 関数 » PHP Manual CommonMark\CQL CQL Execution 検索 CommonMark\CQL::__invoke (cmark >= 1.1.0) CommonMark\CQL::__invoke — CQL Execution 説明 public function CommonMark\CQL::__invoke ( CommonMark\Node ... $root , callable $handler ) Shall invoke the current CQL function on the given root , executing the given handler on entry to a CommonMark\Node パラメータ root the ... ntinue executing. Should the handler return a falsy value, CQL will stop executing 関連キーワード: CommonMark handler root invoke Node executing return Execution function given continue value construct Search cmark callable current entry パラメータ nod ...
https://man.mtool.work/php/8.3/commonmark-cql.invoke.html
CQL Execution 8637
« CommonMark\CQL::__construct CommonMark 関数 » PHP Manual CommonMark\CQL CQL Execution 検索 CommonMark\CQL::__invoke (cmark >= 1.1.0) CommonMark\CQL::__invoke — CQL Execution 説明 public function CommonMark\CQL::__invoke ( CommonMark\Node ... $root , callable $handler ) Shall invoke the current CQL function on the given root , executing the given handler on entry to a CommonMark\Node パラメータ root the ... ntinue executing. Should the handler return a falsy value, CQL will stop executing 関連キーワード: CommonMark handler root invoke Node executing return Execution given continue construct cmark callable current entry node tree prototype entering fail tr ...
https://man.mtool.work/php/8.3/commonmark-cql.invoke.html
luaclosure を起動 8637
« LuaClosure LuaSandbox » PHP Manual LuaClosure luaclosure を起動 検索 LuaClosure::__invoke (PECL lua >=0.9.0) LuaClosure::__invoke — luaclosure を起動 説明 public function LuaClosure::__invoke ( mixed ...$args ): void 警告 この関数は、 現在 ... のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ args 戻り値 例 例1 LuaClosure::__invoke() の例 <?php $lua = new Lua (); $closure = $lua -> eval (<<<CODE return (function () print("hello world") end) CODE ); $lu ... a -> call ( $closure ); $closure (); ?> 上の例の出力は以下となります。 hello worldhello world 関連キーワード: LuaClosure invoke luaclosure 起動 closure args hello world LuaSandbox mixed 詳細 記述 eval return print call worldhello ...
https://man.mtool.work/php/8.3/luaclosure.invoke.html
使用中の出力ハンドラの一覧を取得する 8589
« ob_implicit_flush ob_start » PHP Manual 出力制御 関数 使用中の出力ハンドラの一覧を取得する 検索 ob_list_handlers (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ob_list_handlers — 使用中の出力ハンドラの一覧を取得する 説明 function ob_list_handlers ... ob_start() に渡すことと同じです。 ob_start() に callable を渡した場合、 callable の 完全修飾名 を返します。 callable が __invoke() を実装したオブジェクトの場合、 オブジェクトの __invoke() メソッドの 完全修飾名 を返します。 callable が Closure の場合、 ... "Closure::__invoke" を返します。 例 例1 ob_list_handlers() の例 <?php // using output_buffering=On, no output_handler set var_dump ( ob_list_ ... nd_flush (); // first class callable $firstClassCallable = userDefinedFunction (...); ob_start ([ $firstClassCallable , '__invoke' ]); var_dump ( ob_list_handlers ()); ob_end_flush (); // internal (built-in) function ob_start ( 'print_r' ); var_dump ( ...
https://man.mtool.work/php/8.3/function.ob-list-handlers.html
Synchronization 8589
« parallel\Sync::notify pthreads » PHP Manual parallel\Sync Synchronization 検索 parallel\Sync::__invoke (1.1.0) parallel\Sync::__invoke — Synchronization 説明 public function parallel\Sync::__invoke ( callable $critical ) Shall exclusively ... enter into the critical code 関連キーワード: parallel Sync Synchronization invoke notify Search pthreads function callable exclusively enter code navigate Enter select Esc close open ...
https://man.mtool.work/php/8.3/parallel-sync.invoke.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT