« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for seven (0.001 sec.)
ジェネレータの構文 | PHP 8.3 12408
ジェネレータの構文 ジェネレータ関数の見た目はふつうの関数とほぼ同じです。違うのは、値を返すのではなく、 必要なだけ値を yield することです。 yield が含まれていれば、どんな関数でもジェネレータ関数です。 ジェネレータ関数が呼ばれると、反復処理が ... function count_to_ten () { yield 1 ; yield 2 ; yield from [ 3 , 4 ]; yield from new ArrayIterator ([ 5 , 6 ]); yield from seven_eight (); yield 9 ; yield 10 ; } function seven_eight () { yield 7 ; yield from eight (); } function eight () { yield 8 ; ... function count_to_ten () { yield 1 ; yield 2 ; yield from [ 3 , 4 ]; yield from new ArrayIterator ([ 5 , 6 ]); yield from seven_eight (); return yield from nine_ten (); } function seven_eight () { yield 7 ; yield from eight (); } function eight () { ...
https://man.mtool.work/php/8.3/language.generators.syntax.html
Pdo\Sqlite::createAggregate — SQL 文で使用するユーザー定義集約関数を登録する | ... 8377
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 strings(a)" ); $i ...
https://man.mtool.work/php/8.3/pdo-sqlite.createaggregate.html
SQLite3::createAggregate — SQL の集約関数として使用する PHP 関数を登録する | PH... 8377
SQLite3::createAggregate (PHP 5 >= 5.3.0, PHP 7, PHP 8) SQLite3::createAggregate — SQL の集約関数として使用する PHP 関数を登録する 説明 public function SQLite3::createAggregate ( string $name , callable $stepCallback , callable $finalCallba ... false を返します 例 例1 max_length 集約関数の例 <?php $data = array( 'one' , 'two' , 'three' , 'four' , 'five' , 'six' , 'seven' , 'eight' , 'nine' , 'ten' , ); $db = new SQLite3 ( ':memory:' ); $db -> exec ( "CREATE TABLE strings(a)" ); $insert = $d ...
https://man.mtool.work/php/8.3/sqlite3.createaggregate.html
parse_ini_file — 設定ファイルをパースする | PHP 8.3 7785
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( ... 算の AND four = 6&5 ; ^ は ビット演算の XOR five = 3^6 ; ~ は ビット演算の NOT negative_two = ~1 ; () はグループ化に使います seven = (8|7)&(6|5) ; 環境変数 PATH を展開します path = ${PATH} ; 設定オプション 'memory_limit' を展開します configured_memory_l ...
https://man.mtool.work/php/8.3/function.parse-ini-file.html
PREV 1 NEXT