3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 11; $k1 = 1.1; $k2 = 1,1; print $x * $k1 . PHP_EOL; print $x * $k2 . PHP_EOL;
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0 - 7.0.1
Parse error: syntax error, unexpected ',' in /in/ZNqHM on line 6
Process exited with code 255.

preferences:
171.01 ms | 1395 KiB | 25 Q