$string1 - the first string
$string2 - the second string
$compareCharacters - true to compare characters, and false to compare
lines; this optional parameter defaults to false
$ignoreIndent - false to compare also white spaces in the beginning
on the line, true to ignore them
public static compare ( $string1, $string2, $compareCharacters = false, $ignoreIndent = true ) |