« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 18 for rest (0.004 sec.)
コマンドライン引数のリストからオプションを取得する 12748
« getmyuid getrusage » PHP Manual PHP オプション/情報 関数 コマンドライン引数のリストからオプションを取得する 検索 getopt (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) getopt — コマンドライン引数のリストからオプションを取得する 説明 function getopt ... ( string $short_options , array $long_options = [] , int &$rest_index = null ): array | false スクリプトに渡されたオプションをパースします。 パラメータ short_options この文字列の各文字を ... 始まるオプションとして渡された内容とマッチさせます。 たとえば、longopts の要素 "opt" は --opt というオプションを認識します。 rest_index rest_index パラメータが与えられると、 引数のパースを止めた時点のインデックスがこの変数に書き込まれます。 short_optio ... ション以外のものが見つかった時点でオプションのパースは終了し、 それ以降の内容は破棄されます。 変更履歴 バージョン 説明 7.1.0 rest_index パラメータが追加されました。 例 例1 getopt() の例:基本編 <?php // スクリプト example.php $options = getopt ( "f:hp:" ...
https://man.mtool.work/php/8.3/function.getopt.html
コマンドライン引数のリストからオプションを取得する 12748
« getmyuid getrusage » PHP Manual PHP オプション/情報 関数 コマンドライン引数のリストからオプションを取得する 検索 getopt (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) getopt — コマンドライン引数のリストからオプションを取得する 説明 function getopt ... ( string $short_options , array $long_options = [] , int &$rest_index = null ): array | false スクリプトに渡されたオプションをパースします。 パラメータ short_options この文字列の各文字を ... 始まるオプションとして渡された内容とマッチさせます。 たとえば、longopts の要素 "opt" は --opt というオプションを認識します。 rest_index rest_index パラメータが与えられると、 引数のパースを止めた時点のインデックスがこの変数に書き込まれます。 short_optio ... ション以外のものが見つかった時点でオプションのパースは終了し、 それ以降の内容は破棄されます。 変更履歴 バージョン 説明 7.1.0 rest_index パラメータが追加されました。 例 例1 getopt() の例:基本編 <?php // スクリプト example.php $options = getopt ( "f:hp:" ...
https://man.mtool.work/php/8.3/function.getopt.html
ディレクトリハンドルからエントリを読み込む 9848
« streamWrapper::dir_opendir streamWrapper::dir_rewinddir » PHP Manual streamWrapper ディレクトリハンドルからエントリを読み込む 検索 streamWrapper::dir_readdir (PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8) streamWrapper::dir_readdir — ディレクトリハ ... defined in octets $bytes = octdec ( $octal_bytes ); // tar rounds up filesizes up to multiple of 512 bytes (zero filled) $rest = $bytes % 512 ; if ( $rest > 0 ) { $bytes += 512 - $rest ; } // Seek over the file fseek ( $this -> fp , $bytes , SEEK_CU ... 関連キーワード: stream readdir path streamWrapper return filename bytes handle ハンドル エントリ opendir rewinddir header rest closedir readable trigger size trim octal fseek dump Rewinding construct stat ...
https://man.mtool.work/php/8.3/streamwrapper.dir-readdir.html
アロー関数 9299
« 無名関数 第一級callableを生成する記法 » PHP Manual 関数 アロー関数 検索 アロー関数 アロー関数は 無名関数 を簡潔に書ける文法として PHP 7.4 で追加されました。 無名関数とアロー関数は共に Closure クラスを使って実装されています。 アロー関数は ... fn(array $x ) => $x ; static fn( $x ): int => $x ; fn( $x = 42 ) => $x ; fn(& $x ) => $x ; fn&( $x ) => $x ; fn( $x , ... $rest ) => $rest ; アロー関数は変数を値でバインドします。 これは変数 $x をアロー関数の内部で使うたびに use($x) を実行することと大 ... す。 関連キーワード: fn アロー 無名 変数 スコープ 場合 php キャプチャ var export バインド func 文法 use ネスト リファレンス rest 内部 args get ...
https://man.mtool.work/php/8.3/functions.arrow.html
アロー関数 9196
« 無名関数 第一級callableを生成する記法 » PHP Manual 関数 アロー関数 検索 アロー関数 アロー関数は 無名関数 を簡潔に書ける文法として PHP 7.4 で追加されました。 無名関数とアロー関数は共に Closure クラスを使って実装されています。 アロー関数は ... fn(array $x ) => $x ; static fn( $x ): int => $x ; fn( $x = 42 ) => $x ; fn(& $x ) => $x ; fn&( $x ) => $x ; fn( $x , ... $rest ) => $rest ; アロー関数は変数を値でバインドします。 これは変数 $x をアロー関数の内部で使うたびに use($x) を実行することと大 ... 使用することができます。 関連キーワード: アロー 無名 変数 スコープ キャプチャ export バインド func 文法 ネスト リファレンス rest 内部 args 一級 callable 記法 簡潔 Closure 実装 argument list expr 記述 サポート ...
https://man.mtool.work/php/8.3/functions.arrow.html
ディレクトリハンドルからエントリを読み込む 9093
« streamWrapper::dir_opendir streamWrapper::dir_rewinddir » PHP Manual streamWrapper ディレクトリハンドルからエントリを読み込む 検索 streamWrapper::dir_readdir (PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8) streamWrapper::dir_readdir — ディレクトリハ ... defined in octets $bytes = octdec ( $octal_bytes ); // tar rounds up filesizes up to multiple of 512 bytes (zero filled) $rest = $bytes % 512 ; if ( $rest > 0 ) { $bytes += 512 - $rest ; } // Seek over the file fseek ( $this -> fp , $bytes , SEEK_CU ...
https://man.mtool.work/php/8.3/streamwrapper.dir-readdir.html
ロケール情報を設定する 8664
« rtrim sha1 » PHP Manual String 関数 ロケール情報を設定する 検索 setlocale (PHP 4, PHP 5, PHP 7, PHP 8) setlocale — ロケール情報を設定する 説明 function setlocale ( int $category , ? string $locales , string ...$rest ): string | false 代替 ... なるシステムで異なる名前を持っている、 もしくはロケールが利用できない場合のフォールバックを提供するといった場合に有用です。 rest オプションの文字列。ロケール設定が成功するまで設定を試みます。 locale_array それぞれの配列の要素が、 新しいロケールとして設 ... キーワード: ロケール setlocale locales locale カテゴリ category サポート Windows スレッド スクリプト strftime 成功 地域 言語 rest 維持 自身 localeconv 環境 変数 セット フォール バック 有用 無効 ...
https://man.mtool.work/php/8.3/function.setlocale.html
複数または多次元の配列をソートする 8441
« array_merge_recursive array_pad » PHP Manual 配列 関数 複数または多次元の配列をソートする 検索 array_multisort (PHP 4, PHP 5, PHP 7, PHP 8) array_multisort — 複数または多次元の配列をソートする 説明 function array_multisort ( array &$array ... 1 , mixed $array1_sort_order = SORT_ASC , mixed $array1_sort_flags = SORT_REGULAR , mixed ...$rest ): true array_multisort() は、複数の配列を一度に、 または、多次元の配列をその次元の一つでソートする際に使用可能です。 連想 ... は、 array1_sort_order と入れ替えることもできるし、完全に省略することもできます。 省略した場合は SORT_REGULAR とみなします。 rest 追加の配列。オプションで並び順やフラグが続きます。 前の配列の比較結果が等しい要素に対応する要素群だけを比較します。 要する ... ort アイテム sort 小文字 複数 多次元 大文字 最初 昇順 降順 省略 区別 mixed order flags 数値 並び順 dump ループ 方向 column rest ...
https://man.mtool.work/php/8.3/function.array-multisort.html
ロケール情報を設定する 8012
« rtrim sha1 » PHP Manual String 関数 ロケール情報を設定する 検索 setlocale (PHP 4, PHP 5, PHP 7, PHP 8) setlocale — ロケール情報を設定する 説明 function setlocale ( int $category , ? string $locales , string ...$rest ): string | false 代替 ... なるシステムで異なる名前を持っている、 もしくはロケールが利用できない場合のフォールバックを提供するといった場合に有用です。 rest オプションの文字列。ロケール設定が成功するまで設定を試みます。 locale_array それぞれの配列の要素が、 新しいロケールとして設 ...
https://man.mtool.work/php/8.3/function.setlocale.html
複数または多次元の配列をソートする 7909
« array_merge_recursive array_pad » PHP Manual 配列 関数 複数または多次元の配列をソートする 検索 array_multisort (PHP 4, PHP 5, PHP 7, PHP 8) array_multisort — 複数または多次元の配列をソートする 説明 function array_multisort ( array &$array ... 1 , mixed $array1_sort_order = SORT_ASC , mixed $array1_sort_flags = SORT_REGULAR , mixed ...$rest ): true array_multisort() は、複数の配列を一度に、 または、多次元の配列をその次元の一つでソートする際に使用可能です。 連想 ... は、 array1_sort_order と入れ替えることもできるし、完全に省略することもできます。 省略した場合は SORT_REGULAR とみなします。 rest 追加の配列。オプションで並び順やフラグが続きます。 前の配列の比較結果が等しい要素に対応する要素群だけを比較します。 要する ...
https://man.mtool.work/php/8.3/function.array-multisort.html
PREV 1 2 NEXT