Results of 141 - 150 of about 1231 for function (0.040 sec.)
- 無名クラス 3487
- « トレイト オーバーロード » PHP Manual クラスとオブジェクト 無名クラス 無名クラス 無名クラスは、
...
明示的にクラスを宣言して使う class Logger { public function log ( $msg ) { echo $msg ; } } $util -> setLogger ...
クラスを使う $util -> setLogger (new class { public function log ( $msg ) { echo $msg ; } }); コンストラクタを使 ...
s implements SomeInterface { private $num ; public function __construct ( $num ) { $this -> num = $num ; } use ...
ivate $prop = 1 ; protected $prop2 = 2 ; protected function func1 () { return 3 ; } public function func2 () { ...
-
https://man.plustar.jp/php/language.oop5.anonymous.html
- [similar]
- クラスの基礎 3487
- « はじめに プロパティ » PHP Manual クラスとオブジェクト クラスの基礎 クラスの基礎 class 各クラス
...
var = 'a default value' ; // メソッドの宣言 public function displayVar () { echo $this -> var ; } } ?> メソッド ...
ていました。 例2 $this 疑似変数の例 <?php class A { function foo () { if (isset( $this )) { echo '$this is defi ...
echo "\$this is not defined.\n" ; } } } class B { function bar () { A :: foo (); } } $a = new A (); $a -> foo ...
C extends ClassB {} class ClassD extends ClassA {} function getSomeClass (): string { return 'ClassA' ; } var_ ...
-
https://man.plustar.jp/php/language.oop5.basic.html
- [similar]
- Register a callback function by event name. 3487
- « Swoole\Server::listen Swoole\Server::pause » PHP Manual Swoole\Server Register a callback function
...
>= 1.9.0) Swoole\Server::on — Register a callback function by event name. 説明 public Swoole\Server::on ( str ...
戻り値 関連キーワード: callback , event , Register , function , Swoole , Server , listen , pause , swoole , publ ...
-
https://man.plustar.jp/php/swoole-server.on.html
- [similar]
- Repeats a given function at every given time-interval. 3487
- « Swoole\Server::taskWaitMulti Swoole\Table » PHP Manual Swoole\Server Repeats a given function
...
le >= 1.9.0) Swoole\Server::tick — Repeats a given function at every given time-interval. 説明 public Swoole\S ...
ード: Swoole , Server , given , interval , Repeats , function , every , time , callback , taskWaitMulti ...
-
https://man.plustar.jp/php/swoole-server.tick.html
- [similar]
- Swoole 3470
- « stream_wrapper_unregister はじめに » PHP Manual その他の基本モジュール Swoole Swoole はじめに
...
ges to the log swoole_event_add — Add new callback functions of a socket into the EventLoop swoole_event_defer ...
— Add callback function to the next event loop swoole_event_del — Remove a ...
ll event callback functions of a socket swoole_event_exit — Exit the eventloo ...
side swoole_event_set — Update the event callback functions of a socket swoole_event_wait — Start the event l ...
-
https://man.plustar.jp/php/book.swoole.html
- [similar]
- Add callback function to the next event loop 3470
- « swoole_event_add swoole_event_del » PHP Manual Swoole 関数 Add callback function to the next e
...
swoole >= 1.9.0) swoole_event_defer — Add callback function to the next event loop 説明 swoole_event_defer ( c ...
返します。 関連キーワード: event , callback , Add , function , next , swoole , the , defer , Swoole , 関数 ...
-
https://man.plustar.jp/php/function.swoole-event-defer.html
- [similar]
- Set a callback for accepting incremental data updates 3470
- « GearmanClient::setWarningCallback GearmanClient::timeout » PHP Manual GearmanClient Set a call
...
rkloadCallback ( callable $callback ): bool Sets a function to be called when a worker needs to send back data ...
ument, a GearmanTask object. パラメータ callback A function to call 戻り値 成功した場合に true を、失敗した場合 ...
。 参考 GearmanClient::setDataCallback() - Callback function when there is a data packet for a task GearmanClie ...
nt::setCompleteCallback() - Set a function to be called on task completion GearmanClient::set ...
-
https://man.plustar.jp/php/gearmanclient.setworkloadcallback.html
- [similar]
- Register callback function by event name. 3470
- « Swoole\Http\Client::isConnected Swoole\Http\Client::post » PHP Manual Swoole\Http\Client Regis
...
ter callback function by event name. Swoole\Http\Client::on (PECL swoole ...
1.9.0) Swoole\Http\Client::on — Register callback function by event name. 説明 public Swoole\Http\Client::on ...
戻り値 関連キーワード: callback , event , Register , function , Swoole , Http , isConnected , swoole , public , ...
-
https://man.plustar.jp/php/swoole-http-client.on.html
- [similar]
- Delay execution of the callback function at the end of current EventLoop. 3470
- « Swoole\Server::__construct Swoole\Server\Port::__construct » PHP Manual Swoole\Server Delay ex
...
ecution of the callback function at the end of current EventLoop. Swoole\Server::de ...
le\Server::defer — Delay execution of the callback function at the end of current EventLoop. 説明 public Swool ...
defer , construct , Delay , execution , allback , function , callback , swoole ...
-
https://man.plustar.jp/php/swoole-server.defer.html
- [similar]
- パラメータの配列を指定してコールバック関数をコールする 3447
- « 関数処理 関数 call_user_func » PHP Manual 関数処理 関数 パラメータの配列を指定してコールバック
...
返します。 例 例1 call_user_func_array() の例 <?php function foobar ( $arg , $arg2 ) { echo __FUNCTION__ , " go ...
t $arg and $arg2 \n" ; } class foo { function bar ( $arg , $arg2 ) { echo __METHOD__ , " got $ar ...
<?php namespace Foobar ; class Foo { static public function test ( $name ) { print "Hello { $name } !\n" ; } } ...
! Hello Philip! 例3 ラムダ関数の使用 <?php $func = function( $arg1 , $arg2 ) { return $arg1 * $arg2 ; }; var_d ...
-
https://man.plustar.jp/php/function.call-user-func-array.html
- [similar]