php predefined variables

伊谢尔伦
Release: 2016-11-22 11:08:55
Original
1089 people have browsed it

For all scripts, PHP provides a large number of predefined variables. These variables represent all external variables as built-in environment variables and error messages as return headers.

Super global variables — Super global variables are built-in variables that are always available in all scopes

$GLOBALS — References all variables available in the global scope

$_SERVER — Server and execution environment information

$_GET — HTTP GET variable _ $ _post - http post variables

$ _Files -http file upload variables

$ _Request — Http Request variables

$ _Session

$ _NV

_ _ _ _ _ _ — — — _ _ _ _ _ _


g $ PHP_ERRORMSG —— Previous error information
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!