Predefined Variables Flashcards
1
Q
What are superglobals?
A
Built-in variables that are always available in all scopes.
2
Q
What is $GLOBALS?
A
It references all variables available in global scope.
3
Q
What is $_SERVER?
A
Server and execution environment information.
4
Q
What is $_ENV?
A
Environment variables.
5
Q
What is $php_errormsg?
A
The previous error message.
6
Q
What is $argc?
A
The number of arguments passed to the script.
7
Q
What is $argv?
A
An array of arguments passed to the script.