Which PHP superglobal holds server and execution environment information?
- $GLOBALS
- $_SERVER
- $_ENV
- $_SESSION
The $_SERVER superglobal in PHP holds information about the server and execution environment, such as headers and paths.
Loading...
Related Quiz
- Which of the following are common uses of do...while loops in PHP?
- You have a PHP script and you are getting an error when trying to perform a miscellaneous task using a PHP function. How would you troubleshoot this issue?
- You need to execute a block of code in your PHP script for an unknown number of times, but at least once. How would you do this using a while loop and why might you choose it over a for loop?
- Which of the following operators is used in PHP to check if two values are identical in both value and data type?
- An array in PHP is a data structure that stores multiple values in a single ______.