$_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

$_SESSION

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Session variables An associative array containing session variables available to the current script. See the Session functions documentation for more information on how this is used. $HTTP_SESSION_VARS contains the same initial information, but is not a superglobal. (Note that $HTTP_SESSION_VARS and $_SESSION are different variables and that PHP handles them as such)

$_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

$HTTP_RAW_POST_DATA

(PHP 4, PHP 5) Raw POST data $HTTP_RAW_POST_DATA contains the raw POST data. See always_populate_raw_post_data. In general, php://input should be used instead of $HTTP_RAW_POST_DATA. This feature was DEPRECATED in PHP 5.6.0, and REMOVED as of PHP 7.0.0.

$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

$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

$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

Socket context options

Socket context option listing Socket context options are available for all wrappers that work over sockets, like tcp, http and ftp. Changelog: 5.3.3 Added backlog. 5.1.0 Added bindto. Examples: Basic bindto usage example <?php // connect to the internet using the '192.168.0.100' IP $opts = array(     'socket' =&