3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(intval("n/a")); var_dump((int) "n/a"); var_dump(intval("15")); var_dump((int) "15");
based on Z1WtV
Output for 5.6.0 - 7.3.0alpha1
int(0) int(0) int(15) int(15)