Results of 1 - 9 of about 9 for octal (0.001 sec.)
- octdec — 8 進数を 10 進数に変換する | PHP 8.3 13966
- octdec (PHP 4, PHP 5, PHP 7, PHP 8) octdec — 8 進数を 10 進数に変換する 説明 function octdec ( string $octal_string ): int | float octal_string により指定された 8 進数を 10 進数表現した数値を返します。 パラメータ octal_string 変換したい 8 進
... 文字列。 octal_string に無効な文字を与えても、静かに無視されます。 PHP 7.4.0 以降では、無効な文字を与えることは推奨されません。 戻り値 oc ...
-
https://man.mtool.work/php/8.3/function.octdec.html
- streamWrapper::dir_readdir — ディレクトリハンドルからエントリを読み込む | PHP 8... 9131
- streamWrapper::dir_readdir (PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8) streamWrapper::dir_readdir — ディレクトリハンドルからエントリを読み込む 説明 public function streamWrapper::dir_readdir (): string | bool このメソッドは、 readdir() に対応して
... lename = trim ( $data [ "filename" ]); // No filename? We are the end of the archive if (! $filename ) { return false ; } $octal_bytes = trim ( $data [ "size" ]); // Filesize is defined in octets $bytes = octdec ( $octal_bytes ); // tar rounds up file ...
-
https://man.mtool.work/php/8.3/streamwrapper.dir-readdir.html
- 整数 | PHP 8.3 8663
- 整数 int は、ℤ = {..., -2, -1, 0, 1, 2, ...} という集合です。 参考 浮動小数点数 任意精度整数 / BCMath 任意精度整数 / GMP 構文 整数 (integer) は、10 進数(基数 10)、16 進数 (基数 16)、8 進数 (基数 8) あるいは 2 進数 (基数 2) 表記で指定可能です
... は、アンダースコアも許されませんでした) decimal : [1-9][0-9]*(_[0-9]+)* | 0 hexadecimal : 0[xX][0-9a-fA-F]+(_[0-9a-fA-F]+)* octal : 0[oO]?[0-7]+(_[0-7]+)* binary : 0[bB][01]+(_[01]+)* integer : decimal | hexadecimal | octal | binary 整数のサイズはプラッ ...
-
https://man.mtool.work/php/8.3/language.types.integer.html
- filter_var — 指定したフィルタでデータをフィルタリングする | PHP 8.3 8304
- filter_var (PHP 5 >= 5.2.0, PHP 7, PHP 8) filter_var — 指定したフィルタでデータをフィルタリングする 説明 function filter_var ( mixed $value , int $filter = FILTER_DEFAULT , array | int $options = 0 ): mixed 検証フィルタ FILTER_VALIDATE_ * や
... (false) } 例3 options に配列を渡す例 <?php $options = [ 'options' => [ 'min_range' => 10 , ], 'flags' => FILTER_FLAG_ALLOW_OCTAL , ]; var_dump ( filter_var ( '0755' , FILTER_VALIDATE_INT , $options )); var_dump ( filter_var ( '011' , FILTER_VALIDATE_I ...
-
https://man.mtool.work/php/8.3/function.filter-var.html
- Parle pattern matching | PHP 8.3 8304
- Parle pattern matching Parle supports regex matching similar to flex. Also supported are the following POSIX character sets: [:alnum:] , [:alpha:] , [:blank:] , [:cntrl:] , [:digit:] , [:graph:] , [:lower:] , [:print:] , [:punct:] , [:space
... iage return. \f Form feed, \x0c. \t Horizontal tab, \x09. \v Vertical tab, \x0b. \oct Character specified by a three-digit octal code. \xhex Character specified by a hex code. \cchar Named control character. Character classes Character classes Sequenc ...
-
https://man.mtool.work/php/8.3/parle.pattern.matching.html
- その他の変更 | PHP 8.3 8196
- その他の変更 無効な文字列による算術演算の通知 数値形式ではない文字列を使って、数値を期待する演算 ( + - * / ** % << >> | & ^ や、これらを用いた代入演算) を行おうとしたときに、 E_WARNING あるいは E_NOTICE レベルのエラーが発生するようになりまし
... た場合の振る舞いは、これまでのバージョンと変わりません)。 <?php var_dump ( "\500" ); 上の例の出力は以下となります。 Warning: Octal escape sequence overflow \500 is greater than \377 in %s on line %d string(1) "@" $this の矛盾の修正 PHP において $this は ...
-
https://man.mtool.work/php/8.3/migration71.other-changes.html
- その他の変更 | PHP 8.3 8196
- その他の変更 SAPI モジュールへの変更 CLI readline 拡張モジュール が組み込まれていないのに、 -a オプションを使った場合、 エラーが発生するようになりました。 以前のバージョンでは、 readline が組み込まれていない時に -a オプションを使うと、 php
... メント化されておらず、 クラスの継承の実装の詳細に依存していました。 Filter FILTER_VALIDATE_INT フィルタの FILTER_FLAG_ALLOW_OCTAL フラグは、 8進数のプレフィックス ( "0o" / "0O" ) が先頭についた8進文字列を受け入れるようになりました。 GMP 全ての GMP 関数 ...
-
https://man.mtool.work/php/8.3/migration81.other-changes.html
- Other Changes | PHP 8.3 8070
- Other Changes Core changes Core In case of a hard OOM (out of memory) condition, PHP now calls abort() instead of exit(1) , changing the exit code to 134 and possibly creating a core dump. The PHP_OS_FAMILY constant has an AIX value for whe
... ormance of sorting single-element arrays. Improved performance of the following functions: addcslashes() , when generating octal escapes array_fill_keys() array_intersect() array_map() , with multiple arrays passed array_product() and array_sum() , fo ...
-
https://man.mtool.work/php/8.3/migration86.other-changes.html
- 検証フィルタ | PHP 8.3 7962
- 検証フィルタ 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 FILTER_VALIDATE_BOOL ( int ) "1" , 2進数、8進数、16進数記法の 1 , 科学的記法を
... x_range 指定した値と等しい、 またはそれより小さな場合にのみ値が正しいとみなされます。 オプションのフラグ FILTER_FLAG_ALLOW_OCTAL ( int ) 8 進表記 ( 0[0-7]+ ) を許可します。 FILTER_FLAG_ALLOW_HEX ( int ) 16 進表記 ( 0x[0-9a-fA-F]+ ) を許可します。 FILT ...
-
https://man.mtool.work/php/8.3/filter.constants.validation.html
PREV
1
NEXT