3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo ctype_digit ( 16516 ); echo ctype_digit ( '232' ); echo ctype_digit ( '232.00' ); echo ctype_digit ( '00.232' ); echo ctype_digit ( '232.34423' ); echo ctype_digit ( '232.32' ); ?>
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.1.0
11
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2
1