Zend Framework 2 ToInt Filter Unfiltered Data
Some filters, ToInt is one of them, return strict type value but some of them return unfiltered data. I share some links about that to remember them.
https://github.com/zendframework/zend-filter/blob/master/test/ToIntTest.php#L42
https://github.com/zendframework/zend-filter/blob/master/src/ToInt.php#L27
https://github.com/zendframework/zf2/issues/5119#issuecomment-28205707 (Explanation of this confusion)
https://github.com/zendframework/zf2/issues/4727 (some merges for fix but some exception removed in subsequent commits, in last release toInt filter don’t throw any excepiton)


















