Neos.Diff/Classes/SequenceMatcher.php
public function linesAreDifferent($aIndex, $bIndex)
    {
        $lineA = $this->a[$aIndex];
        $lineB = $this->b[$bIndex];

        if ($this->options['ignoreWhitespace']) {
            $replace = ["\t", ' '];
            $lineA = str_replace($replace, '', $lineA);
            $lineB = str_replace($replace, '', $lineB);
        }

        if ($this->options['ignoreCase']) {
            $lineA = strtolower($lineA);
            $lineB = strtolower($lineB);
        }

        if ($lineA != $lineB) {
            return true;
        }

        return false;
    }
public function linesAreDifferent($aIndex, $bIndex)
    {
        $lineA = $this->a[$aIndex];
        $lineB = $this->b[$bIndex];

        if ($this->options['ignoreWhitespace']) {
            $replace = ["\t", ' '];
            $lineA = str_replace($replace, '', $lineA);
            $lineB = str_replace($replace, '', $lineB);
        }

        if ($this->options['ignoreCase']) {
            $lineA = strtolower($lineA);
            $lineB = strtolower($lineB);
        }

        if ($lineA != $lineB) {
            return true;
        }

        return false;
    }
public function linesAreDifferent ( $ aIndex , $ bIndex ) { $ lineA = $ this -> a [ $ aIndex ] ; $ lineB = $ this -> b [ $ bIndex ] ; if ( $ this -> options [ 'ignoreWhitespace' ] ) { $ replace = [ "\t" , ' ' ] ; $ lineA = str_replace ( $ replace , '' , $ lineA ) ; $ lineB = str_replace ( $ replace , '' , $ lineB ) ; } if ( $ this -> options [ 'ignoreCase' ] ) { $ lineA = strtolower ( $ lineA ) ; $ lineB = strtolower ( $ lineB ) ; } if ( $ lineA != $ lineB ) { return true ; } return false ; }
Check if the two lines at the given indexes are different or not.

@param int $aIndex Line number to check against in a.
@param int $bIndex Line number to check against in b.
@return boolean True if the lines are different and false if not.
Check if the two lines at the given indexes are different or not .