Predefined variables
PHP Manual

$_REQUEST

$_REQUESTHTTP Request variables

Opis

An associative array that by default contains the contents of $_GET, $_POST i $_COOKIE.

Rejestr zmian

Wersja Opis
5.3.0 Introduced request_order. This directive affects the contents of $_REQUEST.
4.3.0 $_FILES information was removed from $_REQUEST.
4.1.0 Introduced $_REQUEST.

Notatki

Informacja: To jest zmienna 'superglobalna' lub automatycznie ustawiona na globalną. To po prostu oznacza, że jest dostępna w każdym miejscu skryptu. Nie jest konieczne użycie global $zmienna; aby mieć do niej dostęp w funkcjach i metodach.

Informacja: When running on the command line , this will not include the argv and argc entries; these are present in the $_SERVER array.

Informacja: Variables provided to the script via the GET, POST, and COOKIE input mechanisms, and which therefore cannot be trusted. The presence and order of variable inclusion in this array is defined according to the PHP variables_order configuration directive.

Patrz także


Predefined variables
PHP Manual