3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $val = filter_var_array([1,2,"a",4], VALIDATE_FILER_INT); print_r($val);
based on LRvhH
Output for 7.2.0
Warning: Use of undefined constant VALIDATE_FILER_INT - assumed 'VALIDATE_FILER_INT' (this will throw an Error in a future version of PHP) in /in/HEX3C on line 3
Output for 5.4.10 - 7.1.10
Notice: Use of undefined constant VALIDATE_FILER_INT - assumed 'VALIDATE_FILER_INT' in /in/HEX3C on line 3
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/HEX3C on line 3
Process exited with code 255.