Results of 1 - 10 of about 14 for five (0.002 sec.)
- About event persistence | PHP 8.3 12341
- 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), it becomes non-pending right before its callback is executed. Thus, to make
... 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
- ArrayObject::append — 値を追加する | PHP 8.3 11588
- ArrayObject::append (PHP 5, PHP 7, PHP 8) ArrayObject::append — 値を追加する 説明 public function ArrayObject::append ( mixed $value ): void 新しい値を最後の要素として追加します。 注意 : このメソッドは、 ArrayObject をオブジェクトから作成し
... = 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() - 指定したインデックスに新しい値をセットする 他のマニュアルの関 ...
-
https://man.mtool.work/php/8.3/arrayobject.append.html
- continue | PHP 8.3 10608
- continue (PHP 4, PHP 5, PHP 7, PHP 8) continue は、ループ構造において現在の繰り返しループ の残りの処理をスキップし、条件式を評価した後に 次の繰り返しの最初から実行を続けるために使用されます。 注意 : PHP では、 continue の動作に関しては swit
... ルト値は 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 ...
-
https://man.mtool.work/php/8.3/control-structures.continue.html
- parse_ini_file — 設定ファイルをパースする | PHP 8.3 10100
- parse_ini_file (PHP 4, PHP 5, PHP 7, PHP 8) parse_ini_file — 設定ファイルをパースする 説明 function parse_ini_file ( string $filename , bool $process_sections = false , int $scanner_mode = INI_SCANNER_NORMAL ): array | false parse_ini_file(
... 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
- QuickHashIntStringHash::saveToString — This method returns a serialized version... 9120
- QuickHashIntStringHash::saveToString (PECL quickhash >= Unknown) QuickHashIntStringHash::saveToString — This method returns a serialized version of the hash 説明 public function QuickHashIntStringHash::saveToString (): string This method re
... var_dump ( $hash -> add ( 4 , "thirty four" ) ); var_dump ( $hash -> exists ( 4 ) ); var_dump ( $hash -> add ( 5 , "fifty five" ) ); var_dump ( $hash -> saveToString () ); ?> 他のマニュアルの関連ページ Linux JM hash(3) DuckDB SQL to/from JSON Django ...
-
https://man.mtool.work/php/8.3/quickhashintstringhash.savetostring.html
- QuickHashIntStringHash::delete — This method deletes an entry from the hash | P... 8875
- QuickHashIntStringHash::delete (PECL quickhash >= Unknown) QuickHashIntStringHash::delete — This method deletes an entry from the hash 説明 public function QuickHashIntStringHash::delete ( int $key ): bool This method deletes an entry from
... mple <?php $hash = new QuickHashIntStringHash ( 1024 ); var_dump ( $hash -> exists ( 4 ) ); var_dump ( $hash -> add ( 4 , "five" ) ); var_dump ( $hash -> delete ( 4 ) ); var_dump ( $hash -> exists ( 4 ) ); var_dump ( $hash -> delete ( 4 ) ); ?> 上の例 ...
-
https://man.mtool.work/php/8.3/quickhashintstringhash.delete.html
- break | PHP 8.3 8612
- 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 ...
-
https://man.mtool.work/php/8.3/control-structures.break.html
- array_map — 指定した配列の要素にコールバック関数を適用する | PHP 8.3 8367
- array_map (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) array_map — 指定した配列の要素にコールバック関数を適用する 説明 function array_map ( ? callable $callback , array $array , array ...$arrays ): array array_map() は、 array (および、 それ以上の
... に実行できるものです。 例4 配列のzip操作を行う <?php $a = [ 1 , 2 , 3 , 4 , 5 ]; $b = [ 'one' , 'two' , 'three' , 'four' , 'five' ]; $c = [ 'uno' , 'dos' , 'tres' , 'cuatro' , 'cinco' ]; $d = array_map ( null , $a , $b , $c ); print_r ( $d ); ?> 上の例 ... y ( [0] => 3 [1] => three [2] => tres ) [3] => Array ( [0] => 4 [1] => four [2] => cuatro ) [4] => Array ( [0] => 5 [1] => five [2] => cinco ) ) 例5 null を callback に渡し、 array だけを渡す例 <?php $array = [ 1 , 2 , 3 ]; var_dump ( array_map ( nul ...
-
https://man.mtool.work/php/8.3/function.array-map.html
- oci_bind_array_by_name — PHP の配列を Oracle PL/SQL の配列に名前でバインドする ... 7632
- oci_bind_array_by_name (PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL OCI8 >= 1.2.0) oci_bind_array_by_name — PHP の配列を Oracle PL/SQL の配列に名前でバインドする 説明 function oci_bind_array_by_name ( resource $statement , string $param , array &$va
... $stid = oci_parse ( $conn , "BEGIN arraybindpkg1.iobind(:c1); END;" ); $array = array( "one" , "two" , "three" , "four" , "five" ); oci_bind_array_by_name ( $stid , ":c1" , $array , 5 , - 1 , SQLT_CHR ); oci_execute ( $stid ); var_dump ( $array ); ?> ...
-
https://man.mtool.work/php/8.3/function.oci-bind-array-by-name.html
- Pdo\Sqlite::createAggregate — SQL 文で使用するユーザー定義集約関数を登録する | ... 7387
- Pdo\Sqlite::createAggregate (PHP 8 >= 8.4.0) Pdo\Sqlite::createAggregate — SQL 文で使用するユーザー定義集約関数を登録する 説明 public function Pdo\Sqlite::createAggregate ( string $name , callable $step , callable $finalize , int $numArgs =
... 進行中に計算されているため、 context の値をそのまま返すことができます。 <?php $data = [ 'one' , 'two' , 'three' , 'four' , 'five' , 'six' , 'seven' , 'eight' , 'nine' , 'ten' , ]; $db = new Pdo\Sqlite ( 'sqlite::memory:' ); $db -> exec ( "CREATE TABLE ...
-
https://man.mtool.work/php/8.3/pdo-sqlite.createaggregate.html