original_string: public static function get_global_backup($name) {
          if ($name === 'DB') {
              // no cloning of database object,
              // we just need the original reference, not original state
              return self::$globals['DB'];
          }
          if (isset(self::$globals[$name])) {
              if (is_object(self::$globals[$name])) {
                  $return = clone(self::$globals[$name]);
                  return $return;
              } else {
                  return self::$globals[$name];
              }
          }
          return null;
      }
code: public static function get_global_backup($name) {
          if ($name === 'DB') {
              // no cloning of database object,
              // we just need the original reference, not original state
              return self::$globals['DB'];
          }
          if (isset(self::$globals[$name])) {
              if (is_object(self::$globals[$name])) {
                  $return = clone(self::$globals[$name]);
                  return $return;
              } else {
                  return self::$globals[$name];
              }
          }
          return null;
      }
code_tokens: public static function get_global_backup ( $ name ) { if ( $ name === 'DB' ) { // no cloning of database object, // we just need the original reference, not original state return self :: $ globals [ 'DB' ] ; } if ( isset ( self :: $ globals [ $ name ] ) ) { if ( is_object ( self :: $ globals [ $ name ] ) ) { $ return = clone ( self :: $ globals [ $ name ] ) ; return $ return ; } else { return self :: $ globals [ $ name ] ; } } return null ; }
docstring: Returns original state of global variable.
  @static
  @param string $name
  @return mixed
docstring_tokens: Returns original state of global variable .