3v4l.org

run code in 150+ 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
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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
bool(false) float(140.574) float(140445.45)