Midgard PHP Superglobals
From OpenPSA Wiki
Midgard versions starting from 1.6.0 register two superglobal variables for PHP, $_MIDGARD and $_MIDCOM. These superglobals are always available for Midgard-powered PHP scripts. They are accessed like other PHP superglobals, e.g. echo $_MIDGARD['user'];. For a more detailed description, see Midgard PHP Superglobal and MidCOM PHP Superglobal respectively.
In addition to those, there are several global variables available in the $GLOBALS PHP Superglobal. These are described in MidCOM Global Variables and Midgard Global Variables
