3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo intval(0.1 + 0.7) * 10 echo sprintf('%.20f', intval(0.1 + 0.7) * 10);
Output for 5.5.0 - 5.5.35, 5.6.0 - 5.6.21, 7.0.0 - 7.0.6
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/DCTUp on line 3
Process exited with code 255.

preferences:
200.94 ms | 1395 KiB | 71 Q