GLOB_ERR ?
( https://www.php.net/manual/en/function.glob.php )
以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。
SEEK_SET
(int)
SEEK_CUR
(int)
SEEK_END
(int)
LOCK_SH
(int)
LOCK_EX
(int)
LOCK_UN
(int)
LOCK_NB
(int)
GLOB_BRACE
(int)
注意:
GLOB_BRACE
は GNU システムでないシステムによっては使えない場合があります。 使えないシステムの例として、Solaris や Alpine Linux があてはまります。
GLOB_ERR
(int)
GLOB_ONLYDIR
(int)
GLOB_MARK
(int)
GLOB_NOSORT
(int)
GLOB_NOCHECK
(int)
GLOB_NOESCAPE
(int)
GLOB_AVAILABLE_FLAGS
(int)
GLOB_*
フラグの組み合わせです。
0
| GLOB_BRACE
|
GLOB_MARK
| GLOB_NOSORT
|
GLOB_NOCHECK
| GLOB_NOESCAPE
|
GLOB_ERR
| GLOB_ONLYDIR
と等しくなります。
定数 | 説明 |
---|---|
PATHINFO_ALL
(int)
|
pathinfo の全ての情報です。 連想配列として返されます。 |
PATHINFO_DIRNAME
(int)
|
ファイルのディレクトリパス |
PATHINFO_BASENAME
(int)
|
ディレクトリ名、またはファイル名とその拡張子 |
PATHINFO_EXTENSION
(int)
|
ファイルの拡張子 |
PATHINFO_FILENAME
(int)
|
ファイル名(拡張子なし)またはディレクトリ名 |
FILE_USE_INCLUDE_PATH
(int)
|
filename を
include_path
から探します。
|
FILE_NO_DEFAULT_CONTEXT
(int)
|
|
FILE_APPEND
(int)
|
既存のファイルに追記します。 |
FILE_IGNORE_NEW_LINES
(int)
|
EOL (行末) 文字を取り除きます。 |
FILE_SKIP_EMPTY_LINES
(int)
|
空行を読み飛ばします。 |
FILE_BINARY
(int)
|
バイナリモード
|
FILE_TEXT
(int)
|
テキストモード
|
INI_SCANNER_NORMAL
(int)
|
通常の INI スキャナモード |
INI_SCANNER_RAW
(int)
|
生の INI スキャナモード |
INI_SCANNER_TYPED
(int)
|
型つきの INI スキャナモード |
FNM_NOESCAPE
(int)
|
バックスラッシュのエスケープを無効にする。 |
FNM_PATHNAME
(int)
|
文字列中のスラッシュが、指定したパターン内のスラッシュにのみマッチする。 |
FNM_PERIOD
(int)
|
文字列の先頭のピリオドが、指定したパターン内のピリオドにのみマッチする。 |
FNM_CASEFOLD
(int)
|
大文字小文字を区別しないマッチを行う。GNU 拡張の一部。 |
定数 | 説明 |
---|---|
UPLOAD_ERR_CANT_WRITE |
Failed to write file to disk. |
UPLOAD_ERR_EXTENSION |
A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help. |
UPLOAD_ERR_FORM_SIZE |
The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form. |
UPLOAD_ERR_INI_SIZE |
The uploaded file exceeds the upload_max_filesize directive in php.ini. |
UPLOAD_ERR_NO_FILE |
No file was uploaded. |
UPLOAD_ERR_NO_TMP_DIR |
Missing a temporary folder. |
UPLOAD_ERR_OK |
There is no error, the file uploaded with success. |
UPLOAD_ERR_PARTIAL |
The uploaded file was only partially uploaded. |