+ 3
What is the difference b/w Global and Super Global variables.?
php variables
2 Answers
+ 5
Superglobals are the built in global variables, i.e.:
$GLOBALS
$_SERVER
$_REQUEST
$_POST
$_GET
$_FILES
$_ENV
$_COOKIE
$_SESSION
Global variables are ones you specify as being global.
See a full explanation here: https://www.w3schools.com/php/php_superglobals.asp
+ 1
thanls for your explanation.