Predefined Variables Flashcards

1
Q

What are superglobals?

A

Built-in variables that are always available in all scopes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is $GLOBALS?

A

It references all variables available in global scope.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is $_SERVER?

A

Server and execution environment information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is $_ENV?

A

Environment variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is $php_errormsg?

A

The previous error message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is $argc?

A

The number of arguments passed to the script.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is $argv?

A

An array of arguments passed to the script.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly