« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 315 for Loop (0.002 sec.)
The EvLoop class 7961
« EvIo::set EvLoop::backend » PHP Manual Ev The EvLoop class 検索 The EvLoop class (PECL ev >= 0.2.0) はじめに Represents an event loop that is always distinct from the default loop . Unlike the default loop , it cannot handle EvChild watch ... ers. Having threads we have to create a loop per thread, and use the default loop in the parent thread. The default event loop is initialized automatically by Ev . It ... is accessible via methods of the Ev class, or via EvLoop::defaultLoop() method. クラス概要 final class EvLoop { /* プロパティ */ public $ data ; public $ backend ; public $ is_def ... ault_loop ; public $ iteration ; public $ pending ; public $ io_interval ; public $ timeout_interval ; public $ depth ; /* メソッド ...
https://man.mtool.work/php/8.3/class.evloop.html
The EvLoop class 7961
« EvIo::set EvLoop::backend » PHP Manual Ev The EvLoop class 検索 The EvLoop class (PECL ev >= 0.2.0) はじめに Represents an event loop that is always distinct from the default loop . Unlike the default loop , it cannot handle EvChild watch ... ers. Having threads we have to create a loop per thread, and use the default loop in the parent thread. The default event loop is initialized automatically by Ev . It ... is accessible via methods of the Ev class, or via EvLoop::defaultLoop() method. クラス概要 final class EvLoop { /* プロパティ */ public $ data ; public $ backend ; public $ is_def ... ault_loop ; public $ iteration ; public $ pending ; public $ io_interval ; public $ timeout_interval ; public $ depth ; /* メソッド ...
https://man.mtool.work/php/8.3/class.evloop.html
LOB ファイルから、ユーザーが定義したサイズの内容を取得する 7217
« db2_last_insert_id db2_next_result » PHP Manual IBM DB2 関数 LOB ファイルから、ユーザーが定義したサイズの内容を取得する 検索 db2_lob_read (PECL ibm_db2 >= 1.6.0) db2_lob_read — LOB ファイルから、ユーザーが定義したサイズの内容を取得する 説 ... ; db2_fetch_row ( $result ); $i = 0 ; /* LOB データの読み込み */ while ( $data = db2_lob_read ( $result , 2 , 6 )) { echo "Loop $i : $data \n" ; $i = $i + 1 ; } $drop = 'DROP TABLE blob_stream' ; $result = @ db2_exec ( $conn , $drop ); $create = 'CRE ... ; db2_fetch_row ( $result ); $i = 0 ; /* LOB データの読み込み */ while ( $data = db2_lob_read ( $result , 2 , 6 )) { echo "Loop $i : $data \n" ; $i = $i + 1 ; } } else { echo '接続に失敗しました: ' . db2_conn_errormsg (); } ?> 上の例の出力は以下となり ... ます。 Loop 0: THIS I Loop 1: S A CL Loop 2: OB TES Loop 3: T. THI Loop 4: S IS A Loop 5: CLOB Loop 6: TEST. Loop 0: THIS I Loop 1: S ...
https://man.mtool.work/php/8.3/function.db2-lob-read.html
LOB ファイルから、ユーザーが定義したサイズの内容を取得する 7217
« db2_last_insert_id db2_next_result » PHP Manual IBM DB2 関数 LOB ファイルから、ユーザーが定義したサイズの内容を取得する 検索 db2_lob_read (PECL ibm_db2 >= 1.6.0) db2_lob_read — LOB ファイルから、ユーザーが定義したサイズの内容を取得する 説 ... ; db2_fetch_row ( $result ); $i = 0 ; /* LOB データの読み込み */ while ( $data = db2_lob_read ( $result , 2 , 6 )) { echo "Loop $i : $data \n" ; $i = $i + 1 ; } $drop = 'DROP TABLE blob_stream' ; $result = @ db2_exec ( $conn , $drop ); $create = 'CRE ... ; db2_fetch_row ( $result ); $i = 0 ; /* LOB データの読み込み */ while ( $data = db2_lob_read ( $result , 2 , 6 )) { echo "Loop $i : $data \n" ; $i = $i + 1 ; } } else { echo '接続に失敗しました: ' . db2_conn_errormsg (); } ?> 上の例の出力は以下となり ... ます。 Loop 0: THIS I Loop 1: S A CL Loop 2: OB TES Loop 3: T. THI Loop 4: S IS A Loop 5: CLOB Loop 6: TEST. Loop 0: THIS I Loop 1: S ...
https://man.mtool.work/php/8.3/function.db2-lob-read.html
Ev 7096
« eio_write インストール/設定 » PHP Manual プロセス制御 Ev 検索 Ev はじめに この拡張モジュールは、 » libev ライブラリへのインターフェイスを提供します。 このライブラリは、C で書かれたハイパフォーマンスで高機能なイベントループです。 注意 : こ ... nstructs EvIo watcher object EvIo::createStopped — Create stopped EvIo watcher object EvIo::set — Configures the watcher EvLoop — The EvLoop class EvLoop::backend — Returns an integer describing the backend used by libev EvLoop::check — Creates EvChe ... ck object associated with the current event loop instance EvLoop::child — Creates EvChild object associated with the current event loop EvLoop::__construct — Constructs th ... e event loop object EvLoop::defaultLoop — Returns or creates the default event loop EvLoop::embed — Creates an instance of EvEmbed watc ...
https://man.mtool.work/php/8.3/book.ev.html
Ev 7096
« eio_write インストール/設定 » PHP Manual プロセス制御 Ev 検索 Ev はじめに この拡張モジュールは、 » libev ライブラリへのインターフェイスを提供します。 このライブラリは、C で書かれたハイパフォーマンスで高機能なイベントループです。 注意 : こ ... nstructs EvIo watcher object EvIo::createStopped — Create stopped EvIo watcher object EvIo::set — Configures the watcher EvLoop — The EvLoop class EvLoop::backend — Returns an integer describing the backend used by libev EvLoop::check — Creates EvChe ... ck object associated with the current event loop instance EvLoop::child — Creates EvChild object associated with the current event loop EvLoop::__construct — Constructs th ... e event loop object EvLoop::defaultLoop — Returns or creates the default event loop EvLoop::embed — Creates an instance of EvEmbed watc ...
https://man.mtool.work/php/8.3/book.ev.html
Constructs the event loop object 6706
« EvLoop::child EvLoop::defaultLoop » PHP Manual EvLoop Constructs the event loop object 検索 EvLoop::__construct (PECL ev >= 0.2.0) EvLoop::__construct — Constructs the event loop object 説明 public function EvLoop::__construct ( int $flag ... s = ? , mixed $data = NULL , float $io_interval = 0.0 , float $timeout_interval = 0.0 ) Constructs the event loop object. パラメータ flags One of the event loop flags data Custom data associated with the loop. io_interval See io_interva ... l timeout_interval See timeout_interval 参考 EvLoop::defaultLoop() - Returns or creates the default event loop 関連キーワード: loop EvLoop event interval Constructs object co ... nstruct flags data io timeout defaultLoop float See child Search ev function int mixed ...
https://man.mtool.work/php/8.3/evloop.construct.html
Constructs the event loop object 6706
« EvLoop::child EvLoop::defaultLoop » PHP Manual EvLoop Constructs the event loop object 検索 EvLoop::__construct (PECL ev >= 0.2.0) EvLoop::__construct — Constructs the event loop object 説明 public function EvLoop::__construct ( int $flag ... s = ? , mixed $data = NULL , float $io_interval = 0.0 , float $timeout_interval = 0.0 ) Constructs the event loop object. パラメータ flags One of the event loop flags data Custom data associated with the loop. io_interval See io_interva ... l timeout_interval See timeout_interval 参考 EvLoop::defaultLoop() - Returns or creates the default event loop 関連キーワード: loop EvLoop event interval Constructs construct ... flags timeout defaultLoop float child mixed Custom associated 参考 creates default ...
https://man.mtool.work/php/8.3/evloop.construct.html
例 6678
« インストール手順 ウォッチャー » PHP Manual Ev 例 検索 例 例1 タイマーのサンプル <?php // タイマーを作り、2 秒後に起動します $w1 = new EvTimer ( 2 , 0 , function () { echo "2 seconds elapsed\n" ; }); // タイマーを作って 2 秒後に起動させ、そ ... n" ; $w2 -> again (); Ev :: run ( Ev :: RUN_NOWAIT ); $w = new EvTimer ( 10 , 0 , function() {}); echo "Running a blocking loop\n" ; Ev :: run (); echo "END\n" ; ?> 上の例の出力は、 たとえば以下のようになります。 2 seconds elapsed is called every sec ... timer created as stopped Restart the second watcher and try to handle the same events, but don't block Running a blocking loop is called every second, is launched after 2 seconds iteration = 8 is called every second, is launched after 2 seconds iter ... ープをデフォルトのイベントループに組み込みます。 * できなかった場合はデフォルトのループを使います。 * デフォルトのループは $loop_hi に、そして埋め込み可能なループは $loop_lo * に格納されます (埋め込み可能なループが使えなかった場合は $loop_hi * を使いま ...
https://man.mtool.work/php/8.3/ev.examples.html
例 6678
« インストール手順 ウォッチャー » PHP Manual Ev 例 検索 例 例1 タイマーのサンプル <?php // タイマーを作り、2 秒後に起動します $w1 = new EvTimer ( 2 , 0 , function () { echo "2 seconds elapsed\n" ; }); // タイマーを作って 2 秒後に起動させ、そ ... n" ; $w2 -> again (); Ev :: run ( Ev :: RUN_NOWAIT ); $w = new EvTimer ( 10 , 0 , function() {}); echo "Running a blocking loop\n" ; Ev :: run (); echo "END\n" ; ?> 上の例の出力は、 たとえば以下のようになります。 2 seconds elapsed is called every sec ... timer created as stopped Restart the second watcher and try to handle the same events, but don't block Running a blocking loop is called every second, is launched after 2 seconds iteration = 8 is called every second, is launched after 2 seconds iter ... ープをデフォルトのイベントループに組み込みます。 * できなかった場合はデフォルトのループを使います。 * デフォルトのループは $loop_hi に、そして埋め込み可能なループは $loop_lo * に格納されます (埋め込み可能なループが使えなかった場合は $loop_hi * を使いま ...
https://man.mtool.work/php/8.3/ev.examples.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT