public function getColumn(){

		$part = substr($this->input, 0, $this->index);
		$pos = strrpos($part,"\n");
		return $this->index - $pos;
	}
public function getColumn(){

		$part = substr($this->input, 0, $this->index);
		$pos = strrpos($part,"\n");
		return $this->index - $pos;
	}
public function getColumn ( ) { $ part = substr ( $ this -> input , 0 , $ this -> index ) ; $ pos = strrpos ( $ part , "\n" ) ; return $ this -> index - $ pos ; }
Returns the column the error was encountered

@return integer
Returns the column the error was encountered