3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(FILTER_SANITIZE_INT, FILTER_SANITIZE_NUMBER_INT);
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant FILTER_SANITIZE_INT - assumed 'FILTER_SANITIZE_INT' in /in/o3OPd on line 2 string(19) "FILTER_SANITIZE_INT" int(519)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.1.6
Notice: Use of undefined constant FILTER_SANITIZE_INT - assumed 'FILTER_SANITIZE_INT' in /in/o3OPd on line 2 Notice: Use of undefined constant FILTER_SANITIZE_NUMBER_INT - assumed 'FILTER_SANITIZE_NUMBER_INT' in /in/o3OPd on line 2 string(19) "FILTER_SANITIZE_INT" string(26) "FILTER_SANITIZE_NUMBER_INT"