public static function areEqual($value1, $value2) : bool
    {
        return $value1 === $value2 || self::hash($value1) === self::hash($value2);
    }
public static function areEqual($value1, $value2) : bool
    {
        return $value1 === $value2 || self::hash($value1) === self::hash($value2);
    }
public static function areEqual ( $ value1 , $ value2 ) : bool { return $ value1 === $ value2 || self :: hash ( $ value1 ) === self :: hash ( $ value2 ) ; }
Returns whether the supplied values are value-wise equal.

@param mixed $value1
@param mixed $value2

@return bool
Returns whether the supplied values are value - wise equal .