3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = '5'; if (ctype_digit($i)) echo 'is did';
Output for 4.3.0 - 7.2.0
is did