Hi, I was wondering how a part of Zend_Filter_Input worked. I can see this in the comments (version 1.5, revision 9044): Zend/Filter/Input.php::688: "Validators are indexed by integer"
However, when I debug the application because my validation rules do not apply, $validatorRule (line 692, to which the comment seems to apply) has the following indexes: - Zend_Validate_NotEmpty - Zend_Validate_StringLength - Zend_Validate_Regex None of those indexes agrees with the is_int() check (line 693) as they are all strings. Therefore, nothing is copied into $validatorList (line 694) and that explains why my rules do not apply. Maybe I have overlooked something but for now I don't know how to deal with this. While I was at it, I saw that on line 701 there is a check on " $validatorRule[self::FIELDS]", which is the same as " $validatorRule['fields']". I thought the comments said there are only integer indexes? The same happens with all the checks between lines 702 and 720. Have I missed anything? Regards, Guillaume Rossolini
