Results of 1 - 10 of about 28 for five (0.003 sec.)
- About event persistence 12060
- « Event flags Event callbacks » PHP Manual Event About event persistence 検索 About event persistence By default, whenever a pending event becomes active (because its file descriptor is ready to read or write, or because its timeout expires
... ets whenever the event's callback runs. Thus, if one has an event with flags Event::READ | Event::PERSIST and a timeout of five seconds, the event will become active: Whenever the socket or file descriptor is ready for reading. Whenever five seconds ... vent pending About callback persistence timeout flags whenever becomes because descriptor ready Thus make again persistent five seconds Whenever callbacks default read write expires ...
-
https://man.mtool.work/php/8.3/event.persistence.html
- 値を追加する 11290
- « ArrayObject ArrayObject::asort » PHP Manual ArrayObject 値を追加する 検索 ArrayObject::append (PHP 5, PHP 7, PHP 8) ArrayObject::append — 値を追加する 説明 public function ArrayObject::append ( mixed $value ): void 新しい値を最後の要素とし
... = new ArrayObject (array( 'first' , 'second' , 'third' )); $arrayobj -> append ( 'fourth' ); $arrayobj -> append (array( 'five' , 'six' )); var_dump ( $arrayobj ); ?> 上の例の出力は以下となります。 object(ArrayObject)#1 (1) { ["storage":"ArrayObject ... ing(5) "first" [1]=> string(6) "second" [2]=> string(5) "third" [3]=> string(6) "fourth" [4]=> array(2) { [0]=> string(4) "five" [1]=> string(3) "six" } } } 参考 ArrayObject::offsetSet() - 指定したインデックスに新しい値をセットする 関連キーワード: Ar ... rayObject append string arrayobj array value offsetSet first second third fourth five six Search asort function mixed void 最後 要素 ...
-
https://man.mtool.work/php/8.3/arrayobject.append.html
- 値を追加する 11290
- « ArrayObject ArrayObject::asort » PHP Manual ArrayObject 値を追加する 検索 ArrayObject::append (PHP 5, PHP 7, PHP 8) ArrayObject::append — 値を追加する 説明 public function ArrayObject::append ( mixed $value ): void 新しい値を最後の要素とし
... = new ArrayObject (array( 'first' , 'second' , 'third' )); $arrayobj -> append ( 'fourth' ); $arrayobj -> append (array( 'five' , 'six' )); var_dump ( $arrayobj ); ?> 上の例の出力は以下となります。 object(ArrayObject)#1 (1) { ["storage":"ArrayObject ... ing(5) "first" [1]=> string(6) "second" [2]=> string(5) "third" [3]=> string(6) "fourth" [4]=> array(2) { [0]=> string(4) "five" [1]=> string(3) "six" } } } 参考 ArrayObject::offsetSet() - 指定したインデックスに新しい値をセットする 関連キーワード: Ar ... rayObject append arrayobj offsetSet first second third fourth five asort mixed 最後 dump storage private 参考 インデックス セット ...
-
https://man.mtool.work/php/8.3/arrayobject.append.html
- continue 10356
- « break switch » PHP Manual 制御構造 continue 検索 continue (PHP 4, PHP 5, PHP 7, PHP 8) continue は、ループ構造において現在の繰り返しループ の残りの処理をスキップし、条件式を評価した後に 次の繰り返しの最初から実行を続けるために使用されます
... ルト値は 1 で、 これは現在のループの終了地点までスキップします。 <?php $arr = [ 'zero' , 'one' , 'two' , 'three' , 'four' , 'five' , 'six' ]; foreach ( $arr as $key => $value ) { if ( 0 === ( $key % 2 )) { // キーが偶数の組をスキップします continue; } ... echo $value . "\n" ; } 上の例の出力は以下となります。 one three five <?php $i = 0 ; while ( $i ++ < 5 ) { echo "Outer\n" ; while ( 1 ) { echo "Middle\n" ; while ( 1 ) { echo "Inner\n" ; conti ... した。 関連キーワード: continue ループ echo Outer Middle Inner switch 構造 スキップ break while 現在 場合 php arr one three five key value ...
-
https://man.mtool.work/php/8.3/control-structures.continue.html
- continue 10356
- « break switch » PHP Manual 制御構造 continue 検索 continue (PHP 4, PHP 5, PHP 7, PHP 8) continue は、ループ構造において現在の繰り返しループ の残りの処理をスキップし、条件式を評価した後に 次の繰り返しの最初から実行を続けるために使用されます
... ルト値は 1 で、 これは現在のループの終了地点までスキップします。 <?php $arr = [ 'zero' , 'one' , 'two' , 'three' , 'four' , 'five' , 'six' ]; foreach ( $arr as $key => $value ) { if ( 0 === ( $key % 2 )) { // キーが偶数の組をスキップします continue; } ... echo $value . "\n" ; } 上の例の出力は以下となります。 one three five <?php $i = 0 ; while ( $i ++ < 5 ) { echo "Outer\n" ; while ( 1 ) { echo "Middle\n" ; while ( 1 ) { echo "Inner\n" ; conti ... ING が発生するようになりました。 関連キーワード: continue ループ Outer Middle Inner switch 構造 スキップ break while three five 制御 条件式 評価 繰り返し 最初 外側 次回 続行 レベル デフォルト値 地点 four foreach ...
-
https://man.mtool.work/php/8.3/control-structures.continue.html
- About event persistence 10044
- « Event flags Event callbacks » PHP Manual Event About event persistence 検索 About event persistence By default, whenever a pending event becomes active (because its file descriptor is ready to read or write, or because its timeout expires
... ets whenever the event's callback runs. Thus, if one has an event with flags Event::READ | Event::PERSIST and a timeout of five seconds, the event will become active: Whenever the socket or file descriptor is ready for reading. Whenever five seconds ...
-
https://man.mtool.work/php/8.3/event.persistence.html
- break 9422
- « foreach continue » PHP Manual 制御構造 break 検索 break (PHP 4, PHP 5, PHP 7, PHP 8) break は、現在実行中の for , foreach , while , do-while , switch 構造の実行を終了します。 break では、オプションの引数で ネストしたループ構造を抜ける数を
... 引数のデフォルトは 1 で、直近のループ構造からだけ抜けます。 <?php $arr = array( 'one' , 'two' , 'three' , 'four' , 'stop' , 'five' ); foreach ( $arr as $val ) { if ( $val == 'stop' ) { break; /* ここでは、'break 1;'と書くこともできます */ } echo " $val ... 0; quitting 関連キーワード: break 構造 while switch foreach ループ three four stop case quitting continue 制御 ネスト 直近 five default ...
-
https://man.mtool.work/php/8.3/control-structures.break.html
- 設定ファイルをパースする 9422
- « move_uploaded_file parse_ini_string » PHP Manual ファイルシステム 関数 設定ファイルをパースする 検索 parse_ini_file (PHP 4, PHP 5, PHP 7, PHP 8) parse_ini_file — 設定ファイルをパースする 説明 function parse_ini_file ( string $filename , b
... e.ini の内容 ; これは設定ファイルのサンプルです。 ; php.ini と同様、';' で始まる行はコメントです。 [first_section] one = 1 five = 5 animal = BIRD [second_section] path = "/usr/local/bin" URL = "http://www.example.com/~username" [third_section] phpver ... le ( "sample.ini" , true ); print_r ( $ini_array ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [one] => 1 [five] => 5 [animal] => Dodo bird [path] => /usr/local/bin [URL] => http://www.example.com/~username [phpversion] => Array ( [0] ... rls] => Array ( [svn] => http://svn.php.net [git] => http://git.php.net ) ) Array ( [first_section] => Array ( [one] => 1 [five] => 5 [animal] => Dodo bird ) [second_section] => Array ( [path] => /usr/local/bin [URL] => http://www.example.com/~userna ...
-
https://man.mtool.work/php/8.3/function.parse-ini-file.html
- 設定ファイルをパースする 8652
- « move_uploaded_file parse_ini_string » PHP Manual ファイルシステム 関数 設定ファイルをパースする 検索 parse_ini_file (PHP 4, PHP 5, PHP 7, PHP 8) parse_ini_file — 設定ファイルをパースする 説明 function parse_ini_file ( string $filename , b
... e.ini の内容 ; これは設定ファイルのサンプルです。 ; php.ini と同様、';' で始まる行はコメントです。 [first_section] one = 1 five = 5 animal = BIRD [second_section] path = "/usr/local/bin" URL = "http://www.example.com/~username" [third_section] phpver ... le ( "sample.ini" , true ); print_r ( $ini_array ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [one] => 1 [five] => 5 [animal] => Dodo bird [path] => /usr/local/bin [URL] => http://www.example.com/~username [phpversion] => Array ( [0] ... rls] => Array ( [svn] => http://svn.php.net [git] => http://git.php.net ) ) Array ( [first_section] => Array ( [one] => 1 [five] => 5 [animal] => Dodo bird ) [second_section] => Array ( [path] => /usr/local/bin [URL] => http://www.example.com/~userna ...
-
https://man.mtool.work/php/8.3/function.parse-ini-file.html
- This method returns a serialized version of the hash 8029
- « QuickHashIntStringHash::saveToFile QuickHashIntStringHash::set » PHP Manual QuickHashIntStringHash This method returns a serialized version of the hash 検索 QuickHashIntStringHash::saveToString (PECL quickhash >= Unknown) QuickHashIntStri
... var_dump ( $hash -> add ( 4 , "thirty four" ) ); var_dump ( $hash -> exists ( 4 ) ); var_dump ( $hash -> add ( 5 , "fifty five" ) ); var_dump ( $hash -> saveToString () ); ?> 関連キーワード: hash QuickHashIntStringHash method returns serialized save ...
-
https://man.mtool.work/php/8.3/quickhashintstringhash.savetostring.html