Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Not an Issue
-
Affects Version/s: 1.10.4
-
Fix Version/s: 1.10.7
-
Component/s: Zend_Validate
-
Labels:None
Description
Windows XP running as localhost
Apache/2.0.59 (Win32) PHP/5.2.8 DAV/2
Class: Zend_Validate_Float
if ( Zend_validate::is( 7, 'float' ) ) { echo 'Validated'; } else echo 'NOT Validated';
Result = Validated
Note: is_float() correctly shows as invalid.
7 equals 7.00 and therefore it imho makes sense that it is validated.