ZF-7703: Int validator assumes 'en' Locale integers are valid, despite specifying a different locale


If you specify a locale, the isValid() method validates the value with Zend_Locale_Format::isInteger() using the specified locale. However, In addition to the specified locale, it also validates with an 'en'-based Zend_Locale.

Should the validator assume that in all cases an 'en'-localized value is required, even though the user has explicitly defined which locale they wish to validate with?


Patch amending functionality.

Added with r18097