original_string: function _read()
      {
          $fp = @fopen($this->_file, "rb");
          if ($fp) {
  	    if ($this->_fileLocking) @flock($fp, LOCK_SH);
              clearstatcache();
              $length = @filesize($this->_file);
              $mqr = get_magic_quotes_runtime();
              if ($mqr) {
                  set_magic_quotes_runtime(0);
              }
              if ($this->_readControl) {
                  $hashControl = @fread($fp, 32);
                  $length = $length - 32;
              }
  
              if ($length) {
                  $data = '';
                  // See https://bugs.php.net/bug.php?id=30936
                  // The 8192 magic number is the chunk size used internally by PHP.
                  while(!feof($fp)) $data .= fread($fp, 8192);
              } else {
                  $data = '';
              }
              if ($mqr) {
                  set_magic_quotes_runtime($mqr);
              }
              if ($this->_fileLocking) @flock($fp, LOCK_UN);
              @fclose($fp);
              if ($this->_readControl) {
                  $hashData = $this->_hash($data, $this->_readControlType);
                  if ($hashData != $hashControl) {
                      if (!(is_null($this->_lifeTime))) {
                          @touch($this->_file, time() - 2*abs($this->_lifeTime)); 
                      } else {
                          @unlink($this->_file);
                      }
                      return false;
                  }
              }
              return $data;
          }
          return $this->raiseError('Cache_Lite : Unable to read cache !', -2); 
      }
code: function _read()
      {
          $fp = @fopen($this->_file, "rb");
          if ($fp) {
  	    if ($this->_fileLocking) @flock($fp, LOCK_SH);
              clearstatcache();
              $length = @filesize($this->_file);
              $mqr = get_magic_quotes_runtime();
              if ($mqr) {
                  set_magic_quotes_runtime(0);
              }
              if ($this->_readControl) {
                  $hashControl = @fread($fp, 32);
                  $length = $length - 32;
              }
  
              if ($length) {
                  $data = '';
                  // See https://bugs.php.net/bug.php?id=30936
                  // The 8192 magic number is the chunk size used internally by PHP.
                  while(!feof($fp)) $data .= fread($fp, 8192);
              } else {
                  $data = '';
              }
              if ($mqr) {
                  set_magic_quotes_runtime($mqr);
              }
              if ($this->_fileLocking) @flock($fp, LOCK_UN);
              @fclose($fp);
              if ($this->_readControl) {
                  $hashData = $this->_hash($data, $this->_readControlType);
                  if ($hashData != $hashControl) {
                      if (!(is_null($this->_lifeTime))) {
                          @touch($this->_file, time() - 2*abs($this->_lifeTime)); 
                      } else {
                          @unlink($this->_file);
                      }
                      return false;
                  }
              }
              return $data;
          }
          return $this->raiseError('Cache_Lite : Unable to read cache !', -2); 
      }
code_tokens: function _read ( ) { $ fp = @ fopen ( $ this -> _file , "rb" ) ; if ( $ fp ) { if ( $ this -> _fileLocking ) @ flock ( $ fp , LOCK_SH ) ; clearstatcache ( ) ; $ length = @ filesize ( $ this -> _file ) ; $ mqr = get_magic_quotes_runtime ( ) ; if ( $ mqr ) { set_magic_quotes_runtime ( 0 ) ; } if ( $ this -> _readControl ) { $ hashControl = @ fread ( $ fp , 32 ) ; $ length = $ length - 32 ; } if ( $ length ) { $ data = '' ; // See https://bugs.php.net/bug.php?id=30936 // The 8192 magic number is the chunk size used internally by PHP. while ( ! feof ( $ fp ) ) $ data .= fread ( $ fp , 8192 ) ; } else { $ data = '' ; } if ( $ mqr ) { set_magic_quotes_runtime ( $ mqr ) ; } if ( $ this -> _fileLocking ) @ flock ( $ fp , LOCK_UN ) ; @ fclose ( $ fp ) ; if ( $ this -> _readControl ) { $ hashData = $ this -> _hash ( $ data , $ this -> _readControlType ) ; if ( $ hashData != $ hashControl ) { if ( ! ( is_null ( $ this -> _lifeTime ) ) ) { @ touch ( $ this -> _file , time ( ) - 2 * abs ( $ this -> _lifeTime ) ) ; } else { @ unlink ( $ this -> _file ) ; } return false ; } } return $ data ; } return $ this -> raiseError ( 'Cache_Lite : Unable to read cache !' , - 2 ) ; }
docstring: Read the cache file and return the content
  
  @return string content of the cache file (else : false or a PEAR_Error object)
  @access private
docstring_tokens: Read the cache file and return the content