phpday 2027 - Call for Papers

入力にまつわる定数

以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。

以下の定数は、 filter_input() と filter_input_array() で使います。

INPUT_POST (int)

POST 変数。

INPUT_GET (int)

GET 変数。

COOKIE 変数。

INPUT_ENV (int)

ENV 変数。

INPUT_SERVER (int)

SERVER 変数。

INPUT_SESSION (int)

SESSION 変数。 (PHP 8.0.0 以降で削除されました。それより前のバージョンでも実装されていませんでした)

INPUT_REQUEST (int)

REQUEST 変数。 (PHP 8.0.0 以降で削除されました。それより前のバージョンでも実装されていませんでした)

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top