Sr. PHP Programmer Question:

How will you get environment variables in PHP?

Answer:

PHP provides a function getenv() to access the value of all the environment variables.

Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
Explain the importance of the function htmlentities?How will you include the content of a PHP file into another PHP file?