- Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
- array(3) { [0]=> int(1) [1]=> bool(false) [2]=> bool(false) }
<?php
var_dump([
filter_var('1', FILTER_VALIDATE_INT),
filter_var('1dfdsfsd', FILTER_VALIDATE_INT),
filter_var('1 zemlekop', FILTER_VALIDATE_INT),
]);