Gets the registered Globals.
array An array of globals
public function getGlobals() {
if (!$this->runtimeInitialized && !$this->extensionInitialized) {
return $this
->initGlobals();
}
if (null === $this->globals) {
$this->globals = $this
->initGlobals();
}
return $this->globals;
}