« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for revalidate (0.002 sec.)
opcache_get_status — キャッシュについてのステータス情報を取得 | PHP 8.3 11971
opcache_get_status (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL ZendOpcache > 7.0.2) opcache_get_status — キャッシュについてのステータス情報を取得 説明 function opcache_get_status ( bool $include_scripts = true ): array | false この関数は、インメモリ ... RNING が発生します。 ステータス情報は返されません。 変更履歴 バージョン 説明 PHP 8.3.0 opcache_get_status()['scripts'][n]['revalidate'] の値に、 いつスクリプトの更新チェックを行うかの予定が Unix タイムスタンプの形で含まれるようになりました。 いつチェックを ... 行うかは、INI ディレクティブ opcache.revalidate_freq によって決まります。 例 例1 opcache_get_status() の例 <?php var_dump ( opcache_get_status ()); ?> 上の例の出力は、 た ...
https://man.mtool.work/php/8.3/function.opcache-get-status.html
新機能 | PHP 8.3 11486
新機能 PHP コア readonly 機能の修正 無名クラスも、readonly としてマークできるようになりました。 読み取り専用プロパティは、clone している間に再初期化できるようになりました。 クラス定数に対する型宣言 クラス、インターフェイス、トレイト、そして ... した。つまり、CData を構造体やフィールドに代入できるようになったということです。 Opcache opcache_get_status()['scripts'][n]['revalidate'] の値に、いつスクリプトの更新チェックを行うかの予定が Unix タイムスタンプの形で含まれるようになりました。いつチェックを行 ... うかは、 opcache.revalidate_freq によって決まります。 POSIX posix_getrlimit() で、リソースの制限値をひとつ取得できる、オプションの resource パラメータ ...
https://man.mtool.work/php/8.3/migration83.new-features.html
実行時設定 | PHP 8.3 10533
実行時設定 php.ini の設定により動作が変化します。 OPcache 設定オプション 名前 デフォルト 変更可能 変更履歴 opcache.enable 1 INI_ALL opcache.enable_cli 0 INI_SYSTEM PHP 7.1.2 と 7.1.6 の間では、デフォルトは 1 でした opcache.memory_consumptio ... STEM opcache.max_wasted_percentage 5 INI_SYSTEM opcache.use_cwd 1 INI_SYSTEM opcache.validate_timestamps 1 INI_ALL opcache.revalidate_freq 2 INI_ALL opcache.revalidate_path 0 INI_ALL opcache.save_comments 1 INI_SYSTEM opcache.fast_shutdown 0 INI_SYSTEM PHP ... ョンを破壊するかもしれません。 opcache.validate_timestamps bool 有効にすると、OPcache は、スクリプトが更新されたかを opcache.revalidate_freq 秒ごとにチェックします。 このディレクティブが無効な場合、ファイルシステムへの変更を反映するには、 opcache_reset() また ... 0でない値が設定されている場合、OPcache はファイルのタイムスタンプをまだコンパイル時にチェックする可能性があります。 opcache.revalidate_freq int 更新のためにスクリプトのタイムスタンプをチェックする頻度。(秒単位) 0 にすると、OPcache は、リクエストごとに更新 ...
https://man.mtool.work/php/8.3/opcache.configuration.html
readfile — ファイルを出力する | PHP 8.3 8610
readfile (PHP 4, PHP 5, PHP 7, PHP 8) readfile — ファイルを出力する 説明 function readfile ( string $filename , bool $use_include_path = false , ? resource $context = null ): int | false ファイルを読んで標準出力に書き出します。 パラメータ f ... t-Disposition: attachment; filename="' . basename ( $file ). '"' ); header ( 'Expires: 0' ); header ( 'Cache-Control: must-revalidate' ); header ( 'Pragma: public' ); header ( 'Content-Length: ' . filesize ( $file )); readfile ( $file ); exit; } ?> 上の例の ...
https://man.mtool.work/php/8.3/function.readfile.html
インストール手順 | PHP 8.3 8610
インストール手順 OPcache は共有ライブラリ形式の拡張モジュールとしてしかコンパイルできません。 --disable-all を指定してデフォルトでコンパイルされる拡張モジュールを無効にしている場合は、OPcache が利用可能になるように --enable-opcache オプショ ... は次の通りです。 opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 ; PHP 7.2.0 より前のバージョンで有効 opcache.enable_cli=1 opcache.save_comments を無効にし ...
https://man.mtool.work/php/8.3/opcache.installation.html
session_cache_limiter — 現在のキャッシュリミッタを取得または設定する | PHP 8.3 8124
session_cache_limiter (PHP 4 >= 4.0.3, PHP 5, PHP 7, PHP 8) session_cache_limiter — 現在のキャッシュリミッタを取得または設定する 説明 function session_cache_limiter ( ? string $value = null ): string | false session_cache_limiter() は、 現在 ... (現在のスクリプトのタイムスタンプ) nocache Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache 戻り値 現在のキャッシュリミッタの名前を返します。 値の変更に失敗した場合は、 false を返します。 変更履歴 ...
https://man.mtool.work/php/8.3/function.session-cache-limiter.html
php.ini ディレクティブのリスト | PHP 8.3 7639
php.ini ディレクティブのリスト 以下のリストには、PHP の設定を行うための php.ini ディレクティブが 含まれます。 "変更可能" カラムは、そのディレクティブをいつどこで定義できるかを表すモードです。その意味については どこで設定を行うのか を参照くだ ... STEM opcache.max_wasted_percentage 5 INI_SYSTEM opcache.use_cwd 1 INI_SYSTEM opcache.validate_timestamps 1 INI_ALL opcache.revalidate_freq 2 INI_ALL opcache.revalidate_path 0 INI_ALL opcache.save_comments 1 INI_SYSTEM opcache.fast_shutdown 0 INI_SYSTEM PHP ...
https://man.mtool.work/php/8.3/ini.list.html
その他の変更 | PHP 8.3 7154
その他の変更 PHP コア iterable 型は、コンパイル時に組み込みで array | Traversable のエイリアスと見なされるようになりました。 よって、 iterable に関連するエラーメッセージは、 array|Traversable のものが使われるようになります。 型のリフレクショ ... x_side_traces opcache.log_verbosity_level opcache.max_file_size opcache.opt_debug_level opcache.optimization_level opcache.revalidate_freq output_buffering pcre.backtrack_limit pcre.recursion_limit pgsql.max_links pgsql.max_persistent post_max_size realpat ...
https://man.mtool.work/php/8.3/migration82.other-changes.html
header — 生の HTTP ヘッダを送信する | PHP 8.3 6686
header (PHP 4, PHP 5, PHP 7, PHP 8) header — 生の HTTP ヘッダを送信する 説明 function header ( string $header , bool $replace = true , int $response_code = 0 ): void header() は、生の HTTP ヘッダを送信するために使用されます。 HTTP ヘッダにつ ... シとクライアントでは、 以下のコードにより強制的にキャッシュを無効にできます。 <?php header ( "Cache-Control: no-cache, must-revalidate" ); // HTTP/1.1 header ( "Expires: Sat, 26 Jul 1997 05:00:00 GMT" ); // 過去の日付 ?> 注意 : 上記のヘッダを全て出力しなかっ ...
https://man.mtool.work/php/8.3/function.header.html
PREV 1 NEXT