equals(string $expected, string $input) : boolean
Compares whether two strings are equal. To prevent guessing of the string length this is done by comparing two hashes against each other and afterwards a comparison of the real string to prevent against the unlikely chance of collisions.
The expected value
The input to compare against
True if the two strings are equal, otherwise false.