How do I check environment variables?



How do I check environment variables?..

Answer / Mohd Ramiz

You can check environment variables in PHP using the getenv() function. This function returns the value of a specific environment variable, or NULL if it is not set.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What are the difference between abstract class and interface?

4 Answers  


can anyone tel me about the Expression engine Note:Its a CMS in Php

2 Answers  


Do I need apache for php?

1 Answers  


What is rtrim php?

1 Answers  


What is the use of Mbstring?

1 Answers  


Which php framework is fastest?

1 Answers  


What is the advantage of runtime polymorphism?

1 Answers  


What are the ways to include file in php?

1 Answers  


What are php parameters?

1 Answers  


what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons

1 Answers  


What are the correct and the most two common way to start and finish a PHP block of code?

1 Answers  


Describe session in php.

1 Answers  


Categories