Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 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.