Predefined Variables
Predefined Variables
PHP provides a number of
.
PHP also provides an additional set of predefined arrays
containing variables from the web server (if applicable), the
environment, and user input. These arrays are automatically available in
every scope. For this reason, they are often known as
"superglobals". (There is no mechanism in PHP for
user-defined superglobals.) Refer to the
for details.
predefined variableslist of superglobals
Opmerking: > ### Variable variables
Superglobals cannot be used as inside functions or class methods. variable variables
If certain variables in are not set, their
appropriate PHP predefined arrays are also left empty.
variables_order