$argc

(PHP 4, PHP 5, PHP 7) The number of arguments passed to script Contains the number of arguments passed to the current script when running from the command line. Note: The script's filename is always passed as an argument to the script, therefore the minimum value of $argc is 1. Note: This variable is not available when register_argc_argv is disabled. Examples: $arg

$_REQUEST

(PHP 4 >= 4.1.0, PHP 5, PHP 7) HTTP Request variables An associative array that by default contains the contents of $_GET, $_POST and $_COOKIE. Changelog: 5.3.0 Introduced request_order. This directive affects the contents of $_REQUEST. 4.3.0 $_FILES $_REQUEST 4.1.0 Introduced $_REQUEST. Notes: This is a 'su

$argv

(PHP 4, PHP 5, PHP 7) Array of arguments passed to script Contains an array of all the arguments passed to the script when running from the command line. Note: The first argument $argv[0] is always the name that was used to run the script. Note: This variable is not available when register_argc_argv is disabled. Examples: $argv example <?php var_du

$http_response_header

(PHP 4 >= 4.0.4, PHP 5, PHP 7) HTTP response headers The $http_response_header array is similar to the get_headers() function. When using the HTTP wrapper, $http_response_header will be populated with the HTTP response headers. $http_response_header will be created in the local scope. Examples: $http_response_header example <?php function get_contents

$_ENV

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Environment variables An associative array of variables passed to the current script via the environment method. These variables are imported into PHP's global namespace from the environment under which the PHP parser is running. Many are provided by the shell under which PHP is running and different systems are likely running different kinds of shells, a definitive list is impossible. Please see your shell

$_COOKIE

(PHP 4 >= 4.1.0, PHP 5, PHP 7) HTTP Cookies An associative array of variables passed to the current script via HTTP Cookies. $HTTP_COOKIE_VARS contains the same initial information, but is not a superglobal. (Note that $HTTP_COOKIE_VARS and $_COOKIE are different variables and that PHP handles them as such) Changelog: 4.1.0 Introduced $_COOKIE that deprecated $HTTP_COOKIE

$php_errormsg

(PHP 4, PHP 5, PHP 7) The previous error message $php_errormsg is a variable containing the text of the last error message generated by PHP. This variable will only be available within the scope in which the error occurred, and only if the track_errors configuration option is turned on (it defaults to off). If a user defined error handler (set_error_handler()) is set $php_errormsg is only set if

$_POST

(PHP 4 >= 4.1.0, PHP 5, PHP 7) HTTP POST variables An associative array of variables passed to the current script via the HTTP POST method when using application/x-www-form-urlencoded or multipart/form-data as the HTTP Content-Type in the request. $HTTP_POST_VARS contains the same initial information, but is not a superglobal. (Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such)

$_FILES

(PHP 4 >= 4.1.0, PHP 5, PHP 7) HTTP File Upload variables An associative array of items uploaded to the current script via the HTTP POST method. $HTTP_POST_FILES contains the same initial information, but is not a superglobal. (Note that $HTTP_POST_FILES and $_FILES are different variables and that PHP handles them as such) Changelog: 4.1.0 Introduced $_FILES that depreca

$_GET

(PHP 4 >= 4.1.0, PHP 5, PHP 7) HTTP GET variables An associative array of variables passed to the current script via the URL parameters. $HTTP_GET_VARS contains the same initial information, but is not a superglobal. (Note that $HTTP_GET_VARS and $_GET are different variables and that PHP handles them as such) Changelog: 4.1.0 Introduced $_GET that deprecated $HTTP_GET_VA