Predefined array: * Auto global variable---Hyper global array * * 1. Contains data from the Web server, client, run environment, and user input * 2. These arrays are more special * 3. The global scope automatically takes effect and can be used directly with these arrays * 4. Users cannot customize these arrays, but these data operate in the same way as our custom array operations * 5. These arrays can be used directly in the function * *$_get //The variable submitted to the script via URL request *$_post //The variable submitted to the script via the HTTP POST method *$_request //via GET, POST and COOKIE mechanisms are submitted to the script variables, so the array is not trustworthy, do not use (as far as possible) *$_files //upload via HTTP POST file to script, file processing chapter, File upload *$_cookie // *$_session //*$_env //execution Environment The variables submitted to the script *$_server //variables are set by the Web server or are directly associated with the execution environment of the current script * $GLOBALS // As long as the current script is valid variables are here, the array key name is the name of the global variable *
PHP Learning Notes-pre-defined hyper-global arrays