3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = '0123'; echo (int)is_numeric($foo) . "\n"; echo (int)$foo;
based on XHKI9
Output for 4.3.0 - 7.1.0
1 123