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.44545m6' * 1000);
Output for 7.1.0 - 7.3.0rc4
bool(false) float(140.574) Notice: A non well formed numeric value encountered in /in/tcPJt on line 6 float(140445.45)
Output for 4.3.0 - 7.0.20
bool(false) float(140.574) float(140445.45)