3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo intval("a10"); echo "<br />\r\n"; echo intval("10a"); echo "<br />\r\n"; echo intval("1a0"); ?>
Output for 4.3.0 - 7.2.0
0<br /> 10<br /> 1