What exactly is this $_server do ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What exactly is this $_server do ?

i'm new as hell in programming. its not getting in my server yuno..

11th Nov 2016, 2:05 PM
Deepak Tiwari
1 Answer
+ 1
$_Server is a superglobal array wich offers you informations about the server your script is running on. Sometimes it is important, to check if the server does have all the requirements installed therefor you could use this variable. for example if there is a special Version of PHP installed or a needed module.
11th Nov 2016, 2:47 PM
jmey