3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = '3,21'; var_dump((float) $foo); var_dump(is_numeric($foo));
based on cdI9R
Output for 5.6.0 - 7.3.0beta1
float(3) bool(false)