« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 73 for 巻き戻し (0.003 sec.)
ファイルポインタを先頭に巻き戻す 10200
« SplFileObject::next SplFileObject::seek » PHP Manual SplFileObject ファイルポインタを先頭に巻き戻す 検索 SplFileObject::rewind (PHP 5 >= 5.1.0, PHP 7, PHP 8) SplFileObject::rewind — ファイルポインタを先頭に巻き戻す 説明 public function Sp ... lFileObject::rewind (): void ファイルポインタを先頭に巻き戻します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 エラー / 例外 巻き戻しができない場合 RuntimeE ... クする 関連キーワード: SplFileObject ポインタ rewind file next seek パラメータ 最初 current Search function void 戻り値 例外 巻き戻し 場合 RuntimeException php new misc ...
https://man.mtool.work/php/8.3/splfileobject.rewind.html
ファイルポインタを先頭に巻き戻す 10200
« SplFileObject::next SplFileObject::seek » PHP Manual SplFileObject ファイルポインタを先頭に巻き戻す 検索 SplFileObject::rewind (PHP 5 >= 5.1.0, PHP 7, PHP 8) SplFileObject::rewind — ファイルポインタを先頭に巻き戻す 説明 public function Sp ... lFileObject::rewind (): void ファイルポインタを先頭に巻き戻します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 エラー / 例外 巻き戻しができない場合 RuntimeE ... ileObject::valid() - ファイル終端でないかチェックする 関連キーワード: SplFileObject ポインタ rewind next seek 最初 current 巻き戻し RuntimeException misc 全体 ループ foreach line 参考 行番号 valid 終端 チェック ...
https://man.mtool.work/php/8.3/splfileobject.rewind.html
イテレータの最初の要素に巻き戻す 9823
« Iterator::next Iterator::valid » PHP Manual Iterator イテレータの最初の要素に巻き戻す 検索 Iterator::rewind (PHP 5, PHP 7, PHP 8) Iterator::rewind — イテレータの最初の要素に巻き戻す 説明 public function Iterator::rewind (): void イテレータ ... の最初の要素に巻き戻します。 注意 : これは、 foreach ループの開始時に 最初 にコールされるメソッドです。 foreach ループの 後 には実行 されません 。 ... ため、 手動でイテレータの位置を進めていた場合(例えば SplFileObject::seek() を使って移動した場合など)でもリセットされます。 巻き戻しを行わずに反復処理を行うには、 NoRewindIterator でラップしてください。 パラメータ この関数にはパラメータはありません。 戻り値 ... ます。 関連キーワード: Iterator イテレータ 最初 rewind foreach ループ 開始 反復 next valid 手動 SplFileObject seek リセット 巻き戻し NoRewindIterator ラップ ...
https://man.mtool.work/php/8.3/iterator.rewind.html
内部イテレータの巻き戻し操作を阻止する 9823
« NoRewindIterator::next NoRewindIterator::valid » PHP Manual NoRewindIterator 内部イテレータの巻き戻し操作を阻止する 検索 NoRewindIterator::rewind (PHP 5 >= 5.1.0, PHP 7, PHP 8) NoRewindIterator::rewind — 内部イテレータの巻き戻し操作を阻止 ... する 説明 public function NoRewindIterator::rewind (): void 内部イテレータの巻き戻し操作を阻止します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 NoRewindIterator::rewind() ... new ArrayIterator ( $fruits )); echo $noRewindIterator -> current () . "\n" ; $noRewindIterator -> next (); // イテレータを巻き戻します (何も起こりません) $noRewindIterator -> rewind (); echo $noRewindIterator -> current () . "\n" ; ?> 上の例の出力は以下と ...
https://man.mtool.work/php/8.3/norewinditerator.rewind.html
内部イテレータの巻き戻し操作を阻止する 9697
« NoRewindIterator::next NoRewindIterator::valid » PHP Manual NoRewindIterator 内部イテレータの巻き戻し操作を阻止する 検索 NoRewindIterator::rewind (PHP 5 >= 5.1.0, PHP 7, PHP 8) NoRewindIterator::rewind — 内部イテレータの巻き戻し操作を阻止 ... する 説明 public function NoRewindIterator::rewind (): void 内部イテレータの巻き戻し操作を阻止します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 NoRewindIterator::rewind() ... new ArrayIterator ( $fruits )); echo $noRewindIterator -> current () . "\n" ; $noRewindIterator -> next (); // イテレータを巻き戻します (何も起こりません) $noRewindIterator -> rewind (); echo $noRewindIterator -> current () . "\n" ; ?> 上の例の出力は以下と ...
https://man.mtool.work/php/8.3/norewinditerator.rewind.html
DirectoryIterator を最初に巻き戻す 9138
« DirectoryIterator::next DirectoryIterator::seek » PHP Manual DirectoryIterator DirectoryIterator を最初に巻き戻す 検索 DirectoryIterator::rewind (PHP 5, PHP 7, PHP 8) DirectoryIterator::rewind — DirectoryIterator を最初に巻き戻す 説明 pub ... lic function DirectoryIterator::rewind (): void DirectoryIterator を最初に巻き戻します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 DirectoryIterator::rewind() の例 <?php ... toryIterator ( dirname ( __FILE__ )); $iterator -> next (); echo $iterator -> key (); //1 $iterator -> rewind (); // 最初に巻き戻します echo $iterator -> key (); //0 ?> 参考 DirectoryIterator::current() - 現在の DirectoryIterator アイテムを返す DirectoryI ...
https://man.mtool.work/php/8.3/directoryiterator.rewind.html
DirectoryIterator を最初に巻き戻す 9138
« DirectoryIterator::next DirectoryIterator::seek » PHP Manual DirectoryIterator DirectoryIterator を最初に巻き戻す 検索 DirectoryIterator::rewind (PHP 5, PHP 7, PHP 8) DirectoryIterator::rewind — DirectoryIterator を最初に巻き戻す 説明 pub ... lic function DirectoryIterator::rewind (): void DirectoryIterator を最初に巻き戻します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 DirectoryIterator::rewind() の例 <?php ... toryIterator ( dirname ( __FILE__ )); $iterator -> next (); echo $iterator -> key (); //1 $iterator -> rewind (); // 最初に巻き戻します echo $iterator -> key (); //0 ?> 参考 DirectoryIterator::current() - 現在の DirectoryIterator アイテムを返す DirectoryI ...
https://man.mtool.work/php/8.3/directoryiterator.rewind.html
最初の要素に巻き戻す 8509
« SimpleXMLElement::registerXPathNamespace SimpleXMLElement::saveXML » PHP Manual SimpleXMLElement 最初の要素に巻き戻す 検索 SimpleXMLElement::rewind (PHP 8) SimpleXMLElement::rewind — 最初の要素に巻き戻す 説明 public function SimpleXMLElem ... ent::rewind() は サブクラスの SimpleXMLIterator でのみ宣言されていました。 このメソッドは、 SimpleXMLElement を最初の要素に巻き戻します。 注意 : PHP 8.4.0 以降では、値を取得するメソッド ( SimpleXMLElement::asXML() や SimpleXMLElement::getName() など) を呼 ...
https://man.mtool.work/php/8.3/simplexmlelement.rewind.html
最初の要素に巻き戻す 8509
« SimpleXMLElement::registerXPathNamespace SimpleXMLElement::saveXML » PHP Manual SimpleXMLElement 最初の要素に巻き戻す 検索 SimpleXMLElement::rewind (PHP 8) SimpleXMLElement::rewind — 最初の要素に巻き戻す 説明 public function SimpleXMLElem ... ent::rewind() は サブクラスの SimpleXMLIterator でのみ宣言されていました。 このメソッドは、 SimpleXMLElement を最初の要素に巻き戻します。 注意 : PHP 8.4.0 以降では、値を取得するメソッド ( SimpleXMLElement::asXML() や SimpleXMLElement::getName() など) を呼 ...
https://man.mtool.work/php/8.3/simplexmlelement.rewind.html
最初の yield までジェネレータを実行する 8314
« Generator::next Generator::send » PHP Manual Generator 最初の yield までジェネレータを実行する 検索 Generator::rewind (PHP 5 >= 5.5.0, PHP 7, PHP 8) Generator::rewind — 最初の yield までジェネレータを実行する 説明 public function Generato ... i ; } } // ジェネレータを初期化 $generator = generator (); // まだ達していない場合、最初の yield 式の開始までジェネレータを巻き戻します。 $generator -> rewind (); // I'm a generator! // ここでは何も起きません; ジェネレータは既に巻き戻されています。 $gener ... ator -> rewind (); // No output (NULL) // ここでは、まだ達していない場合、 // 最初の yield 式の開始までジェネレータを巻き戻します。 // そして、ジェネレータを反復します。 foreach ( $generator as $value ) { // 最初の値を yield したあと、ジェネレータは ... // 実行が再開されて次の yield に進むまで最初の // yield 式にとどまったままです。 echo $value , PHP_EOL ; // 1 break; } // 巻き戻しを再開します。 // エラーは発生しません。なぜんら、ジェネレータは最初の yield を越えて // 進んでいないからです。 $generator - ...
https://man.mtool.work/php/8.3/generator.rewind.html
PREV 1 2 3 4 5 6 7 8 NEXT