ZF-5070: Zend_Validate_Date wrong result with float => return TRUE


The Date validator return TRUE with some float values:

$validator = new Zend_Validate_Date('YYYY-MM-DD');
        $result = $validator->isValid($value);
        if (!$result) {
            return $result;
        return $result;

...->isValid(-1.10) return TRUE ...->isValid(-3.0005) return TRUE


I think it is a issue how to check type of parameters. It is similar to ZF-4352


I don't know how you come to the idea that this issue is related to ZF-4352. Wether Alpha nor Alnum filters are used by this filter. And the value is also not casted.

There is no relationship between this two issues.

Fixed with r12910