public function current()
	{
		$line = $this->file->current();
		if ($this->useFirstRecordAsHeader)
		{
			$header = $this->header;
			if (count($line) != count($header))
			{
				$size = min(count($header), count($line));
				$header = array_slice($this->header, 0, $size);
				$line = array_slice($line, 0, $size);
			}
			return array_combine($header, $line);
		}
		return $line;
	}
public function current()
	{
		$line = $this->file->current();
		if ($this->useFirstRecordAsHeader)
		{
			$header = $this->header;
			if (count($line) != count($header))
			{
				$size = min(count($header), count($line));
				$header = array_slice($this->header, 0, $size);
				$line = array_slice($line, 0, $size);
			}
			return array_combine($header, $line);
		}
		return $line;
	}
public function current ( ) { $ line = $ this -> file -> current ( ) ; if ( $ this -> useFirstRecordAsHeader ) { $ header = $ this -> header ; if ( count ( $ line ) != count ( $ header ) ) { $ size = min ( count ( $ header ) , count ( $ line ) ) ; $ header = array_slice ( $ this -> header , 0 , $ size ) ; $ line = array_slice ( $ line , 0 , $ size ) ; } return array_combine ( $ header , $ line ) ; } return $ line ; }
Return the current record. Optionally uses the header record as keys.

@return array
Return the current record . Optionally uses the header record as keys .