public function getLineNumber(){
		if( $this->index ){
			// https://bugs.php.net/bug.php?id=49790
			if (ini_get("mbstring.func_overload")) {
				return substr_count(substr($this->input, 0, $this->index), "\n") + 1;
			} else {
				return substr_count($this->input, "\n", 0, $this->index) + 1;
			}
		}
		return 1;
	}
public function getLineNumber(){
		if( $this->index ){
			// https://bugs.php.net/bug.php?id=49790
			if (ini_get("mbstring.func_overload")) {
				return substr_count(substr($this->input, 0, $this->index), "\n") + 1;
			} else {
				return substr_count($this->input, "\n", 0, $this->index) + 1;
			}
		}
		return 1;
	}
public function getLineNumber ( ) { if ( $ this -> index ) { // https://bugs.php.net/bug.php?id=49790
 if ( ini_get ( "mbstring.func_overload" ) ) { return substr_count ( substr ( $ this -> input , 0 , $ this -> index ) , "\n" ) + 1 ; } else { return substr_count ( $ this -> input , "\n" , 0 , $ this -> index ) + 1 ; } } return 1 ; }
Returns the line number the error was encountered

@return integer
Returns the line number the error was encountered