Closed koseduhemak closed 7 years ago
It most likely evaluates as 1
via implicit cast. What happens if 'min'
is 2
?
if I use 2
it works as expected. How can I change implicit casting behavior to check in a typesafe way? I am struggling to validate integer / float input in my text fields...
@koseduhemak I'd say it needs to be considered a bug, given a failing test case and fixed.
Hi,
I am using version "2.9.0 - 2017-03-17" of zendframework/zend-validator. If I input string "asdasd" for field "price" validator returns true. Expecting: false.
String "asdasd" is not even a number. Therefore it cannot lie between 0 and 99999999.