3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function check_float($val){ echo (is_numeric($val))?"true":"false"; } check_float('`'); check_float('0.0'); check_float(0.0);
Output for 4.3.0 - 7.2.0
falsetruetrue