3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(ctype_digit('233.4')); var_dump((float) '0140.574m6'); var_dump('0140.574m6' * 1000);
Output for 7.1.0 - 7.2.0
bool(false) float(140.574) Notice: A non well formed numeric value encountered in /in/p8bLo on line 6 float(140574)
Output for 4.3.0 - 7.0.20
bool(false) float(140.574) float(140574)