original_string: public static function getInfos()
      {
          $xDebugEnabled = self::isXdebugEnabled();
          $debugInfos    = array();
  
          $debugInfos['app']['path']  = APP_PATH;
          $debugInfos['app']['cache'] = Agl::app()->isCacheEnabled();
  
          if ($xDebugEnabled) {
              $debugInfos['time']   = xdebug_time_index();
              $debugInfos['memory'] = xdebug_peak_memory_usage();
          }
  
          if (Agl::app()->getDb() !== NULL) {
              $debugInfos['db']['db_engine'] = Agl::app()->getConfig('main/db/engine');
              $debugInfos['db']['queries']   = Agl::app()->getDb()->countQueries();
          }
  
          $debugInfos['opcache']      = (ini_get('opcache.enable')) ? true : false;
          $debugInfos['apcu']         = (ini_get('apc.enabled')) ? true : false;
          $debugInfos['xdebug']       = $xDebugEnabled;
          $debugInfos['more_modules'] = Agl::getLoadedModules();
          $debugInfos['request']      = Agl::getRequest();
  
          return $debugInfos;
      }
code: public static function getInfos()
      {
          $xDebugEnabled = self::isXdebugEnabled();
          $debugInfos    = array();
  
          $debugInfos['app']['path']  = APP_PATH;
          $debugInfos['app']['cache'] = Agl::app()->isCacheEnabled();
  
          if ($xDebugEnabled) {
              $debugInfos['time']   = xdebug_time_index();
              $debugInfos['memory'] = xdebug_peak_memory_usage();
          }
  
          if (Agl::app()->getDb() !== NULL) {
              $debugInfos['db']['db_engine'] = Agl::app()->getConfig('main/db/engine');
              $debugInfos['db']['queries']   = Agl::app()->getDb()->countQueries();
          }
  
          $debugInfos['opcache']      = (ini_get('opcache.enable')) ? true : false;
          $debugInfos['apcu']         = (ini_get('apc.enabled')) ? true : false;
          $debugInfos['xdebug']       = $xDebugEnabled;
          $debugInfos['more_modules'] = Agl::getLoadedModules();
          $debugInfos['request']      = Agl::getRequest();
  
          return $debugInfos;
      }
code_tokens: public static function getInfos ( ) { $ xDebugEnabled = self :: isXdebugEnabled ( ) ; $ debugInfos = array ( ) ; $ debugInfos [ 'app' ] [ 'path' ] = APP_PATH ; $ debugInfos [ 'app' ] [ 'cache' ] = Agl :: app ( ) -> isCacheEnabled ( ) ; if ( $ xDebugEnabled ) { $ debugInfos [ 'time' ] = xdebug_time_index ( ) ; $ debugInfos [ 'memory' ] = xdebug_peak_memory_usage ( ) ; } if ( Agl :: app ( ) -> getDb ( ) !== NULL ) { $ debugInfos [ 'db' ] [ 'db_engine' ] = Agl :: app ( ) -> getConfig ( 'main/db/engine' ) ; $ debugInfos [ 'db' ] [ 'queries' ] = Agl :: app ( ) -> getDb ( ) -> countQueries ( ) ; } $ debugInfos [ 'opcache' ] = ( ini_get ( 'opcache.enable' ) ) ? true : false ; $ debugInfos [ 'apcu' ] = ( ini_get ( 'apc.enabled' ) ) ? true : false ; $ debugInfos [ 'xdebug' ] = $ xDebugEnabled ; $ debugInfos [ 'more_modules' ] = Agl :: getLoadedModules ( ) ; $ debugInfos [ 'request' ] = Agl :: getRequest ( ) ; return $ debugInfos ; }
docstring: Return some debug informations about the running script.
  
  @return array
docstring_tokens: Return some debug informations about the running script .