ZF-6616: Zend_Locale_Format::isNumber() returns TRUE when input is empty
Description
According to documentation "isNumber($value, array $options = array()) checks if a given string is a number and returns true or false. ". I tested it with an empty value and it returns a TRUE value. But empty string isn't a localized number.
Comments
Posted by Thomas Weidner (thomas) on 2009-05-12T01:59:28.000+0000
I can not reproduce this with the actual release.
Can you give some more details ?
Calling
returns me false which is expected behaviour.
Posted by Eugenio Bonifacio (eugeniobonifacio) on 2009-05-12T02:46:16.000+0000
I had to update my library to 1.8.0 (I'd want to avoid this) and now it works correctly. I searched about this bug fix before submitting this issue, i didn't find anything so I thought that it hadn't been already discovered. Sorry, thank you for your very fast reply.