Super Global's are variables that are built into BHP and that are always available for use.
You might recall that we worked with one such variable all Global's in this example.
We have a global variable Z that stores a sum of variables X and Y X plus Y X is equal to 30 and y is
equal to 40 we can see the global variable is accessible from outside the function even though it was
defined inside the function.
So here we have echo Z and that outputs the result which is 70
remember.
Normally when a variable is declared inside a function it's considered a local variable and cannot be
accessed outside the function
so we can see that the global variable is an exception to that rule.
There's actually quite a number of built in global variables and it would take quite some time to go
over each one for this reason we've provided a couple of examples in this lesson and included the remainder
in your Downloads folder
the first year we have the HP server super global and this variable stores information about headers
arts and script locations we can see the output in our web browser here using the echo statement
the server name super global returns the name of the host server since this script is hosted on my local
machine you see the word local post displayed in our browser
other commonly use super goals include request post in debt we will be working with these in the lessons
to follow.