3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(filter_var(0, FILTER_VALIDATE_INT)); var_dump(echo filter_var(1, FILTER_VALIDATE_INT));
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ')' in /in/M8Ycj on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ECHO, expecting ')' in /in/M8Ycj on line 7
Process exited with code 255.