3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 10; $k1 = 1.5; $k2 = '1,5'; print ($x * $k1) . PHP_EOL; print ($x * $k2) . PHP_EOL;
based on XakqG
Output for 7.1.0 - 7.2.0
15 Notice: A non well formed numeric value encountered in /in/re9qK on line 9 10
Output for 5.3.20 - 7.0.20
15 10