hash_equals($known_string, $user_string)
Parameters:
$known_string (string) – Known string
$user_string (string) – User-supplied string Returns:
TRUE if the strings match, FALSE otherwise Return type:
string
For more information, please refer to the PHP manual for hash_equals().