New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Superglobal means that variable is accessible in any part of the running script.
So they can be accessed inside the functions, class methods, if statements, iterators ,etc even without using 'global' keyword.
However, using them is considered to be a bad code design.