« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 122 for Seek (0.002 sec.)
dio_seek — fd 上で whence から pos に移動する | PHP 8.3 11598
dio_seek (PHP 4 >= 4.2.0, PHP 5 < 5.1.0) dio_seek — fd 上で whence から pos に移動する 説明 function dio_seek ( resource $fd , int $pos , int $whence = SEEK_SET ): int 関数 dio_seek() は、指定されたファイルディスクリプタの ファイル内の位置を ... ラメータ fd dio_open() が返すファイルディスクリプタ。 pos 新しい位置。 whence 位置 pos をどのように解釈するかを指示します。 SEEK_SET (デフォルト)- pos がファイル先頭からの位置であることを 指定します。 SEEK_CUR - pos が現在のファイル位置からの文字数で ... ある ことを指定します。このカウントは正にも負にもなりえます。 SEEK_END - pos がファイル終端からの文字数であることを 指定します。負の値は、現在のファイルの範囲内の位置を指定します。 正の値は ... でゼロバイトで埋めて拡張されます。 戻り値 例 例1 ファイル内の位置の指定 <?php $fd = dio_open ( '/dev/ttyS0' , O_RDWR ); dio_seek ( $fd , 10 , SEEK_SET ); // ファイル先頭から 10 文字目 dio_seek ( $fd , - 2 , SEEK_CUR ); // ファイル先頭から 8 文字目 dio ...
https://man.mtool.work/php/8.3/function.dio-seek.html
pg_lo_seek — ラージオブジェクトの位置をシークする | PHP 8.3 10213
pg_lo_seek (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_lo_seek — ラージオブジェクトの位置をシークする 説明 function pg_lo_seek ( PgSql\Lob $lob , int $offset , int $whence = SEEK_CUR ): bool pg_lo_seek() は PgSql\Lob インスタンスの位置をシーク ... ります。 パラメータ lob pg_lo_open() が返した PgSql\Lob クラスのインスタンス。 offset シークするバイト数。 whence 定数 PGSQL_SEEK_SET (オブジェクトの先頭からシークする)、 PGSQL_SEEK_CUR (カレントの位置からシークする)、 あるいは PGSQL_SEEK_END (オブ ... b クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、 resource を期待していました。 例 例1 pg_lo_seek() の例 <?php $doc_oid = 189762345 ; $database = pg_connect ( "dbname=jacarta" ); pg_query ( $database , "begin" ); $handle ... = pg_lo_open ( $database , $doc_oid , "r" ); // 最初の 50000 バイトをスキップする pg_lo_seek ( $handle , 50000 , PGSQL_SEEK_SET ); // 次の 10000 バイトを読み込む $data = pg_lo_read ( $handle , 10000 ); pg_query ( $d ...
https://man.mtool.work/php/8.3/function.pg-lo-seek.html
streamWrapper::stream_seek — ストリーム内の特定の場所に移動する | PHP 8.3 9187
streamWrapper::stream_seek (PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8) streamWrapper::stream_seek — ストリーム内の特定の場所に移動する 説明 public function streamWrapper::stream_seek ( int $offset , int $whence ): bool このメソッドは、 fseek() に ... 、 offset と whence に応じて更新しなければなりません。 パラメータ offset 移動するストリームオフセット。 whence 使用可能な値 SEEK_SET - offset バイト目の位置に移動する。 SEEK_CUR - 現在位置から offset バイトぶん進める。 SEEK_END - ファイルの終端から of ... fset バイトぶん進める。 注意 : 現在の実装は、 whence の値を SEEK_CUR に設定することはありません。 そのようなシークは、 内部的に SEEK_SET と同じ動きに変換されます。 戻り値 位置を更新した場 ... lse を返します。 注意 注意 : 実装されていないの戻り値は false とみなされます。 注意 : 成功した場合、 streamWrapper::stream_seek() をコールした直後に streamWrapper::stream_tell() がコールされます。 streamWrapper::stream_tell() が失敗すると、 呼び出し元 ...
https://man.mtool.work/php/8.3/streamwrapper.stream-seek.html
mysqli_stmt::data_seek — バッファリングされた結果中の、任意の行にポインタを移動... 9137
mysqli_stmt::data_seek mysqli_stmt_data_seek (PHP 5, PHP 7, PHP 8) mysqli_stmt::data_seek -- mysqli_stmt_data_seek — バッファリングされた結果中の、任意の行にポインタを移動する 説明 オブジェクト指向型 public function mysqli_stmt::data_seek ( ... int $offset ): void 手続き型 function mysqli_stmt_data_seek ( mysqli_stmt $statement , int $offset ): void この関数は、バッファリングされた結果セットのポインタを、 offset で指定した任 ... す。 この関数は、バッファリング済みの内部結果セットに対してのみ動作します。 mysqli_stmt_store_result() は、 mysqli_stmt_data_seek() より前にコールしなければなりません。 パラメータ stmt 手続き型のみ: mysqli_stmt_init() が返す mysqli_stmt オブジェクト。 ... execute (); $stmt -> bind_result ( $name , $code ); $stmt -> store_result (); /* 行番号 400 に移動します */ $stmt -> data_seek ( 399 ); $stmt -> fetch (); printf ( "City: %s Countrycode: %s\n" , $name , $code ); 例2 手続き型 <?php mysqli_report ( MY ...
https://man.mtool.work/php/8.3/mysqli-stmt.data-seek.html
SeekableIterator インターフェイス | PHP 8.3 8989
SeekableIterator インターフェイス (PHP 5 >= 5.1.0, PHP 7, PHP 8) はじめに Seekable イテレータです。 インターフェイス概要 interface SeekableIterator extends Iterator { /* メソッド */ public function seek ( int $offset ): void /* 継承したメソ ... id public function Iterator::rewind (): void public function Iterator::valid (): bool } 例 例1 基本的な使用法 この例では、 SeekableIterator を作成して位置を移動し、無効な位置を扱います。 <?php class MySeekableIterator implements SeekableIterator { pr ... ivate $position ; private $array = array( "first element" , "second element" , "third element" , "fourth element" ); /* SeekableIterator インターフェイスで必要なメソッド群 */ public function seek ( $position ) { if (!isset( $this -> array [ $posit ... ion ])) { throw new OutOfBoundsException ( "invalid seek position ( $position )" ); } $this -> position = $position ; } /* Iterator インターフェイスで必要なメソッド群 */ public fu ...
https://man.mtool.work/php/8.3/class.seekableiterator.html
mysqli_result::data_seek — 結果の任意の行にポインタを移動する | PHP 8.3 8989
mysqli_result::data_seek mysqli_data_seek (PHP 5, PHP 7, PHP 8) mysqli_result::data_seek -- mysqli_data_seek — 結果の任意の行にポインタを移動する 説明 オブジェクト指向型 public function mysqli_result::data_seek ( int $offset ): bool 手続き型 ... function mysqli_data_seek ( mysqli_result $result , int $offset ): bool mysqli_data_seek() 関数は、 結果セットの任意の行 offset にポインタを移動しま ... um_rows() - 1)である必要があります。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 mysqli::data_seek() の例 オブジェクト指向型 <?php mysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "loca ... tryCode FROM City ORDER BY Name" ; $result = $mysqli -> query ( $query ); /* 401 番目の行にシークします */ $result -> data_seek ( 400 ); /* 1行取得します */ $row = $result -> fetch_row (); printf ( "City: %s Countrycode: %s\n" , $row [ 0 ], $row [ 1 ...
https://man.mtool.work/php/8.3/mysqli-result.data-seek.html
OCILob::seek — ラージオブジェクトの内部ポインタをセットする | PHP 8.3 8939
OCILob::seek (PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0) OCILob::seek — ラージオブジェクトの内部ポインタをセットする 説明 public function OCILob::seek ( int $offset , int $whence = OCI_SEEK_SET ): bool ラージオブジェクトの内部ポインタをセット ... 。 パラメータ offset 内部ポインタを whence で示された位置から移動させるバイト数を表します。 whence 以下のいずれかです。 OCI_SEEK_SET - offset と等しい位置にセットします OCI_SEEK_CUR - 現在の位置に offset バイト追加します OCI_SEEK_END - ラージオブジェク ... た。 参考 OCILob::rewind OCILob::tell OCILob::eof 他のマニュアルの関連ページ Linux JM fopencookie(3) Python posix Linux JM lseek(2) Linux JM fcntl64(2) Linux JM fcntl(2) Python mmap ...
https://man.mtool.work/php/8.3/ocilob.seek.html
DirectoryIterator::seek — DirectoryIterator のアイテムを移動する | PHP 8.3 8742
DirectoryIterator::seek (PHP 5 >= 5.3.0, PHP 7, PHP 8) DirectoryIterator::seek — DirectoryIterator のアイテムを移動する 説明 public function DirectoryIterator::seek ( int $offset ): void DirectoryIterator の指定した位置に移動します。 パラメ ... ータ offset 異動先を表す、ゼロから始まる位置。 戻り値 値を返しません。 例 例1 DirectoryIterator::seek() の例 スクリプトを含むディレクトリの四番目のアイテムに移動します。 最初の二つは、通常は . と .. です。 <?php $iterator = ... new DirectoryIterator ( dirname ( __FILE__ )); $iterator -> seek ( 3 ); if ( $iterator -> valid ()) { echo $iterator -> getFilename (); } else { echo 'No file at position 3' ; } ?> 参考 D ... rator::rewind() - DirectoryIterator を最初に巻き戻す DirectoryIterator::next() - 次の DirectoryIterator アイテムに移動する SeekableIterator::seek() - 位置を移動する 他のマニュアルの関連ページ Linux JM fopencookie(3) Linux JM lseek(2) Linux JM fflush( ...
https://man.mtool.work/php/8.3/directoryiterator.seek.html
cubrid_data_seek — Move the internal row pointer of the CUBRID result | PHP 8.3 8742
cubrid_data_seek (PECL CUBRID >= 8.3.0) cubrid_data_seek — Move the internal row pointer of the CUBRID result 説明 function cubrid_data_seek ( resource $result , int $row_number ): bool This function performs the moving of the internal row ... s the desired row number of the new result pointer. 戻り値 Returns true on success or false on failure. 例 例1 cubrid_data_seek() example <?php $conn = cubrid_connect ( "127.0.0.1" , 33000 , "demodb" ); $req = cubrid_execute ( $conn , "SELECT * FROM ... code" ); cubrid_data_seek ( $req , 0 ); $result = cubrid_fetch_row ( $req ); var_dump ( $result ); cubrid_data_seek ( $req , 2 ); $result = cubrid_f ... etch_row ( $req ); var_dump ( $result ); cubrid_data_seek ( $req , 4 ); $result = cubrid_fetch_row ( $req ); var_dump ( $result ); cubrid_close_request ( $req ); cubrid_disconnect ...
https://man.mtool.work/php/8.3/function.cubrid-data-seek.html
eio_seek — 指定した位置にシークする | PHP 8.3 8692
eio_seek (PECL eio >= 0.5.0b) eio_seek — 指定した位置にシークする 説明 function eio_seek ( mixed $fd , int $offset , int $whence , int $pri = EIO_PRI_DEFAULT , callable $callback = NULL , mixed $data = NULL ): resource eio_seek() は、 ストリ ... ス、あるいは数値で表したファイルディスクリプタ。 offset 読み込みの開始位置。 whence whence の取りうる値は以下の通りです: EIO_SEEK_SET - 戦闘から offset バイトの位置に移動する。 EIO_SEEK_CUR - 現在の位置から offset バイト進める。 EIO_SEEK_END - ファイル ... で指定するリクエストリソースです。 eio_get_last_error() のような関数で使えます。 data callback に渡す任意の引数。 戻り値 eio_seek() は、成功した場合にリクエストリソースを返します。失敗した場合に false を返します 他のマニュアルの関連ページ Linux JM fope ... ncookie(3) Linux JM lseek(2) Linux JM fcntl(2) Linux JM fcntl64(2) Linux JM full(4) Linux JM rmt(8) ...
https://man.mtool.work/php/8.3/function.eio-seek.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT