3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = (float) 'Hello'; echo $value; echo ' - '; echo !is_float('Hello'); echo ' - '; echo !is_numeric('Hello'); echo ' - '; echo floatval('Hello');
based on Clkkg
Output for 4.3.0 - 7.1.0
0 - 1 - 1 - 0