Results of 1 - 2 of about 2 for fileNotFoundScript (0.002 sec.)
- Phar::webPhar — ブラウザからのリクエストを、phar アーカイブ内部のファイルに転送... 11228
- Phar::webPhar (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) Phar::webPhar — ブラウザからのリクエストを、phar アーカイブ内部のファイルに転送する 説明 final public static function Phar::webPhar ( ? string $alias = null , ? string $index
... = null , ? string $fileNotFoundScript = null , array $mimeTypes = [] , ? callable $rewrite = null ): void Phar::webPhar() は、 Phar::mapPhar() を、 ウェブベース ... ーカイブを指す際に、 フルパスの代わりに使用するエイリアス。 index phar の中でディレクトリインデックスとなるファイルの場所。 fileNotFoundScript ファイルが見つからないときに実行するスクリプトの場所。 このスクリプトは HTTP 404 ヘッダを返さなければなりません。 mimeType ... 無効なコールバックを rewrite に渡したりした場合は UnexpectedValueException をスローします。 変更履歴 バージョン 説明 8.0.0 fileNotFoundScript 、 rewrite は、nullable になりました。 例 例1 Phar::webPhar() の例 この例で作成した phar は、 /myphar.phar/index.php や /m ...
-
https://man.mtool.work/php/8.3/phar.webphar.html
- Phar クラス | PHP 8.3 7485
- Phar クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) はじめに Phar クラスは、phar アーカイブへのアクセスや作成のための高レベルインターフェイスを提供します。 クラス概要 class Phar extends RecursiveDirectoryIterator implements Count
... tring $filename ): true final public static function webPhar ( ? string $alias = null , ? string $index = null , ? string $fileNotFoundScript = null , array $mimeTypes = [] , ? callable $rewrite = null ): void public function __destruct () /* 継承したメソッド */ p ...
-
https://man.mtool.work/php/8.3/class.phar.html
PREV
1
NEXT