adplus-dvertising
frame-decoration

Question

PHP stores all global variables in an array called

a.

$GLOBAL_ARRAY [ ]

b.

$G_ARRAY [ ]

c.

$GLOBALS [ ]

d.

$GLOB_ARRAY [ ]

Posted under PHP

Answer: (c).$GLOBALS [ ]

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. PHP stores all global variables in an array called

Similar Questions

Discover Related MCQs

Q. Which method is more secure than other?

Q. Superglobal array was introduced in

Q. Get method assigns its data to web server that's why

Q. Browsers exhibit different behaviors when user navigates their back and forward buttons, it's a disadvantage of?

Q. HTTP protocol is stateless because a plain HTML page is not capable of

Q. Which statement is correct for using Get method?

Q. Which method is used for generating complex URL strings for dynamic web pages?

Q. By default all GET, Post, Cookie, Environment, and Server variables are directly accessible in PHP because it is defined in

Q. PHP is sometimes

Q. Constants in PHP are not denoted by $ sign but they are differentiated by

Q. All variables in PHP are denoted by

Q. Every statement and expression in PHP is terminated by

Q. Word echo used interchangeably as

Q. Although PHP is embedded with HTML but PHP syntax only applies in

Q. These # MY PHP File? and // My PHP File? statements are example of

Q. Performing automatic type variable conversion is an example of

Q. This statement /* My PHP File */ is an example of

Q. All variables in PHP are assigned with the

Q. Get, Post, Cookies and Sessions all are examples of

Q. A package is a set of related _________