original_string: public function next(){
  
  		if(next($this->_fetched) instanceof SQLResultRow){
  
  			return current($this->_fetched);
  		}
  		else{
  
  			try{
  
  				$mySQLResultRow = new MySQLResultRow($this->_result);
  			}
  			catch(SQLResultRowException $e){
  
  				return false;
  			}
  
  			// Clear fetch buffer in case of an unbuffered result-set
  
  			if(!$this->_buffered){
  
  				$this->_fetched = [];
  			}
  
  			$this->_fetched[] = $mySQLResultRow;
  
  			return $mySQLResultRow;
  		}
  	}
code: public function next(){
  
  		if(next($this->_fetched) instanceof SQLResultRow){
  
  			return current($this->_fetched);
  		}
  		else{
  
  			try{
  
  				$mySQLResultRow = new MySQLResultRow($this->_result);
  			}
  			catch(SQLResultRowException $e){
  
  				return false;
  			}
  
  			// Clear fetch buffer in case of an unbuffered result-set
  
  			if(!$this->_buffered){
  
  				$this->_fetched = [];
  			}
  
  			$this->_fetched[] = $mySQLResultRow;
  
  			return $mySQLResultRow;
  		}
  	}
code_tokens: public function next ( ) { if ( next ( $ this -> _fetched ) instanceof SQLResultRow ) { return current ( $ this -> _fetched ) ; } else { try { $ mySQLResultRow = new MySQLResultRow ( $ this -> _result ) ; } catch ( SQLResultRowException $ e ) { return false ; } // Clear fetch buffer in case of an unbuffered result-set if ( ! $ this -> _buffered ) { $ this -> _fetched = [ ] ; } $ this -> _fetched [ ] = $ mySQLResultRow ; return $ mySQLResultRow ; } }
docstring: Read next result-row from the result-set.
  
  @return SQLResultRow|false
docstring_tokens: Read next result - row from the result - set .