You are here

protected static function PHPUnit_Util_GlobalState::getSuperGlobalArrays in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/GlobalState.php \PHPUnit_Util_GlobalState::getSuperGlobalArrays()
1 call to PHPUnit_Util_GlobalState::getSuperGlobalArrays()
PHPUnit_Util_GlobalState::getGlobalsAsString in vendor/phpunit/phpunit/src/Util/GlobalState.php

File

vendor/phpunit/phpunit/src/Util/GlobalState.php, line 150

Class

PHPUnit_Util_GlobalState
@since Class available since Release 3.4.0

Code

protected static function getSuperGlobalArrays() {
  if (ini_get('register_long_arrays') == '1') {
    return array_merge(self::$superGlobalArrays, self::$superGlobalArraysLong);
  }
  else {
    return self::$superGlobalArrays;
  }
}