3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $floatlike = '12,34'; var_dump(is_float($floatlike)); var_dump(is_numeric($floatlike)); var_dump(10 * $floatlike); var_dump(24/$floatlike;) var_dump(10 + $floatlike); var_dump(10 - $floatlike); //thisiswhywecanthavenicethings.jpg
based on MU78Z
Output for 7.0.0
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/anLKB on line 10
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/anLKB on line 10
Process exited with code 255.