Forum : What is Superglobal variable in php ?
Brief description  about Online courses   join in Online courses
View prabeen  patra 's Profile

What is Superglobal variable in php ?

Superglobal variable....
Asked by prabeen patra | Mar 17, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Prabeen,
PHP has variables called super global variables, or simply, Superglobals. These are variables that can be seen outside and inside functions without the use of the reserved word, global. The programmer is not allowed to declare such variables. There are only some of them available and they are predefined. Examples of superglobals are the $_POST and $_GET variables. These are actually arrays, not variables.
Mar 17, 2010