+ 3

What is the difference b/w Global and Super Global variables.?

php variables

31st Mar 2018, 10:59 PM
Mahmoud Adem 🇸🇴
Mahmoud Adem 🇸🇴 - avatar
2 ответов
+ 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
1st Apr 2018, 1:04 AM
Emma
+ 1
thanls for your explanation.
1st Apr 2018, 7:45 AM
Mahmoud Adem 🇸🇴
Mahmoud Adem 🇸🇴 - avatar