16/07/2023
PHP $GLOBALS Variable
PHP $GLOBALS is a super global variable. It references all variables available in the global scope. i.e. It can access anywhere in PHP script and also within PHP functions or methods. It always defines outside of function or class.