3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump([ filter_var('1', FILTER_VALIDATE_INT), filter_var('1dfdsfsd', FILTER_VALIDATE_INT), filter_var('1 zemlekop', FILTER_VALIDATE_INT), filter_var('0,5', FILTER_VALIDATE_INT), filter_var('0.5', FILTER_VALIDATE_INT), ]);

preferences:
17.79 ms | 402 KiB | 5 Q