Results of 1 - 10 of about 261 for Call (0.002 sec.)
- Yar_Client::call — Call a remote service | PHP 8.3 9950
- Yar_Client::call (PECL yar >= 1.0.0) Yar_Client::call — Call a remote service 説明 public function Yar_Client::call ( string $method , array $arguments ): mixed Issues an RPC call to the remote method method . This is exactly what happens w
... hen a non-existent method is invoked on a Yar_Client object (via PHP's __call magic method); Yar_Client::call() only exists so that remote methods literally named call or __call can still be reached. ... _ERR_REQUEST . See Yar_Client_Exception for the other client-side failures and their exception classes. 例 例1 Yar_Client::call() example <?php $client = new Yar_Client ( "http://api.example.com/operator.php" ); /* The usual way: invoke the remote me ... thod as if it were local. * This is translated into call("add", array(1, 2)) behind the scenes. */ var_dump ( $client -> add ( 1 , 2 )); /* Equivalent: call the method explicitly ...
-
https://man.mtool.work/php/8.3/yar-client.call.html
- call_user_func — 最初の引数で指定したコールバック関数をコールする | PHP 8.3 9594
- call_user_func (PHP 4, PHP 5, PHP 7, PHP 8) call_user_func — 最初の引数で指定したコールバック関数をコールする 説明 function call_user_func ( callable $callback , mixed ...$args ): mixed パラメータ callback で指定したユーザー定義のコールバッ
... ク関数をコールします。 パラメータ callback コールする callable 。 args コールバック関数に渡す、ゼロ個以上のパラメータ。 注意 : call_user_func() のパラメータは 参 ... 照渡しではないことに注意しましょう。 例1 call_user_func() の例と参照 <?php error_reporting ( E_ALL ); function increment (& $var ) { $var ++; } $a = 0 ; call_user_func ... ( 'increment' , $a ); echo $a . "\n" ; // このようにしてもかまいません call_user_func_array ( 'increment' , array(& $a )); echo $a . "\n" ; // 関数名を変数として使ってもかまいません $increment = 'in ...
-
https://man.mtool.work/php/8.3/function.call-user-func.html
- Yar_Concurrent_Client::loop — Send and wait for all registered calls | PHP 8.3 9426
- Yar_Concurrent_Client::loop (PECL yar >= 1.0.0) Yar_Concurrent_Client::loop — Send and wait for all registered calls 説明 public static function Yar_Concurrent_Client::loop ( ? callable $callback = null , ? callable $error_callback = null ,
... ? array $options = null ): ? bool Sends all calls registered with Yar_Concurrent_Client::call() in parallel and blocks until every response has arrived and been handled. T ... he call list is emptied when this method returns. Because the calls run simultaneously, the loop takes only as long as the slowest ... single call rather than the sum of all calls. The callbacks, however, are not invoked in the order the calls were registered: a callba ...
-
https://man.mtool.work/php/8.3/yar-concurrent-client.loop.html
- Lua::call — Lua 関数を呼び出す | PHP 8.3 9268
- Lua::call Lua::__call (PECL lua >=0.9.0) Lua::call -- Lua::__call — Lua 関数を呼び出す 説明 public function Lua::call ( callable $lua_func , array $args = ? , int $use_self = 0 ): mixed public function Lua::__call ( callable $lua_func , arr
... 値 呼び出した関数の結果を返します。引数が間違っている場合は null 、 それ以外のエラーの場合は false を返します。 例 例1 Lua::call() の例 <?php $lua = new Lua (); $lua -> eval (<<<CODE function dummy(foo, bar) print(foo, ",", bar) end CODE ); $lua -> ca ... ll ( "dummy" , array( "Lua" , "geiliable\n" )); $lua -> dummy ( "Lua" , "geiliable" ); // __call() var_dump ( $lua -> call (array( "table" , "concat" ), array(array( 1 => 1 , 2 => 2 , 3 => 3 ), "-" ))); ?> 上の例の出力は ... 以下となります。 Lua,geiliable Lua,geiliable string(5) "1-2-3" 参考 __call() 他のマニュアルの関連ページ Linux JM bootparams(5) Python functools Python weakref Python call FastAPI Advanced Dependenc ...
-
https://man.mtool.work/php/8.3/lua.call.html
- Yar_Concurrent_Client::call — Register a concurrent call | PHP 8.3 9268
- Yar_Concurrent_Client::call (PECL yar >= 1.0.0) Yar_Concurrent_Client::call — Register a concurrent call 説明 public static function Yar_Concurrent_Client::call ( string $uri , string $method , ? array $parameters = null , ? callable $callb
... ack = null , ? callable $error_callback = null , ? array $options = null ): int | false | null Registers a remote RPC call. The request is not ... sent immediately; all registered calls are sent together by Yar_Concurrent_Client::loop() , and the responses are handled as they arrive. 注意 : Only HTTP and H ... TTPS URIs are supported. Concurrent calls are sent simultaneously using curl's multi-handle interface, and the TCP/Unix socket transport does not provide this faci ...
-
https://man.mtool.work/php/8.3/yar-concurrent-client.call.html
- call_user_func_array — パラメータの配列を指定してコールバック関数をコールする |... 9149
- call_user_func_array (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) call_user_func_array — パラメータの配列を指定してコールバック関数をコールする 説明 function call_user_func_array ( callable $callback , array $args ): mixed args にパラメータを指定し
... て、 callback で指定したユーザー定義関数をコールします。 パラメータ callback コールする callable 。 args コールバック関数に渡すパラメ ... ータを指定する配列。 args のキーがすべて数値の場合、 キーは無視され、それぞれの要素が callback の位置を指定した引数として順番に渡されます。 args のキーのいずれかが文字列の場合、 それらの要素は callback の名前付き引 ... 数として渡されます。 その場合、名前は配列のキーが使われます。 args の数値のキーが文字列のキーの後に現れたり、 文字列のキーが callback の パラメータの名前にマッチしない場合、致命的なエラーが発生します。 戻り値 コールバック関数の結果、あるいはエラー時に ...
-
https://man.mtool.work/php/8.3/function.call-user-func-array.html
- forward_static_call_array — 現在呼び出されたクラスを保持したまま、パラメータの... 8229
- forward_static_call_array (PHP 5 >= 5.3.0, PHP 7, PHP 8) forward_static_call_array — 現在呼び出されたクラスを保持したまま、パラメータの配列を指定してコールバックをコールする 説明 function forward_static_call_array ( callable $callback , arr
... ay $args ): mixed callback パラメータで指定したユーザー定義の関数あるいはメソッドを、 call_user_func_array() と同様に引数を配列で渡してコールしま ... は、 self:: や parent:: のように振る舞わせたい static メソッドをコールバックとして渡す場合に便利です。 注意 : forward_static_call() とは異なり、 この関数は有効なクラススコープを必要としません。 クラスの外部でコールした場合、 forward_static_call() は Er ... ror をスローしますが、 この関数はスローしません。 パラメータ callback コールしたい関数あるいはメソッド。このパラメータは、 クラス名とメソッド名を指定した配列あるいは関数名を指定した文字列と ...
-
https://man.mtool.work/php/8.3/function.forward-static-call-array.html
- The Swoole\Coroutine class | PHP 8.3 7903
- The Swoole\Coroutine class (PECL swoole >= 2.0.0) はじめに クラス概要 class Swoole\Coroutine { /* メソッド */ public static function call_user_func ( callable $callback , mixed ...$args ): mixed public static function call_user_func_array (
... callable $callback , array $param_array ): mixed public static function cli_wait (): ReturnType public static function create ( ... rnType public static function resume (): ReturnType public static function suspend (): ReturnType } 目次 Swoole\Coroutine::call_user_func — Call a callback given by the first parameter Swoole\Coroutine::call_user_func_array — Call a callback with an ... Description Swoole\Coroutine::suspend — Description 他のマニュアルの関連ページ Linux JM getuid(2) Linux JM wait(2) Python call Vim channel Linux JM geteuid32(2) DuckDB Write User Defined Functions ...
-
https://man.mtool.work/php/8.3/class.swoole-coroutine.html
- forward_static_call — 現在呼び出されたクラスを保持したままコールバックをコール... 7467
- forward_static_call (PHP 5 >= 5.3.0, PHP 7, PHP 8) forward_static_call — 現在呼び出されたクラスを保持したままコールバックをコールする 説明 function forward_static_call ( callable $callback , mixed ...$args ): mixed callback パラメータで指定
... ます。 これは、 self:: や parent:: のように振る舞わせたい static メソッドをコールバックとして渡す場合に便利です。 パラメータ callback コールしたい関数あるいはメソッド。このパラメータは、 クラス名とメソッド名を指定した配列あるいは関数名を指定した文字列と ... コールバックに渡す、ゼロ個以上のパラメータ。 戻り値 関数の結果、あるいはエラー時に false を返します。 例 例1 forward_static_call() の例 <?php class A { const NAME = 'A' ; public static function test () { $args = func_get_args (); echo static:: NAME , ... n" ; } } class B extends A { const NAME = 'B' ; public static function test () { echo self :: NAME , "\n" ; forward_static_call (array( 'A' , 'test' ), 'more' , 'args' ); forward_static_call ( 'test' , 'other' , 'args' ); } } B :: test ( 'foo' ); fun ...
-
https://man.mtool.work/php/8.3/function.forward-static-call.html
- コールバック / Callable | PHP 8.3 7428
- コールバック / Callable callable は、 別の関数への引数として渡される関数またはメソッドを参照するものです。 これらは、 callable 型を宣言することで表されます。 <?php function foo (callable $callback ) { $callback (); } ?> 関数によっては、コー
... ルバック関数をパラメータとして受け入れるものがあります。 例として array_map() , usort() , preg_replace_callback() が挙げられます。 callable の作成 callable は、呼び出し可能な何かを表す型です。 コールバック関数をパラメータとして期待 ... する関数や、 メソッドの引数として渡すことができますし、 直接呼び出すこともできます。 callable 型は、 クラスのプロパティの型宣言には使えません。 代わりに、 Closure を型宣言に使ってください。 callable は、複数の異な ... ックス 1 に含みます。 __invoke() マジックメソッドを実装した object Closure オブジェクトは、 無名関数 、 アロー関数 、 第一級callableを生成する記法 、 もしくは Closure::fromCallable() メソッドを使って作成できます。 注意 : 第一級callableを生成する記法 は ...
-
https://man.mtool.work/php/8.3/language.types.callable.html