3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = '0'; echo (is_int($i))? 'int' : 'not int' . '<br>'; echo (is_numeric($i))? 'int' : 'not int';
Output for 4.3.0 - 7.1.0
not int<br>int