$_REQUEST

(PHP 4 >= 4.1.0, PHP 5, PHP 7)

$_REQUESTHTTP Request variables

Descrierea

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

Istoricul schimbărilor

Versiune Descriere
5.3.0 Introduced request_order. This directive affects the contents of $_REQUEST.

Note

Notă:

Aceasta este o variabilă 'superglobală', sau globală automată. Aceasta pur și simplu înseamnă că ea este disponibilă în toate circumstanțele pe parcursul script-ului. Nu este nevoie de a scrie global $variable; pentru a o accesa din funcții sau metode.

Notă:

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

Notă:

The variables in $_REQUEST are provided to the script via the GET, POST, and COOKIE input mechanisms and therefore could be modified by the remote user and cannot be trusted. The presence and order of variables listed in this array is defined according to the PHP variables_order configuration directive.

A se vedea și