3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 17.92857142857142857142; $y=$("$x" | bc -l); echo "scale=3; ($y+0.0005)/1" | bc -l;
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '{' or '$' in /in/1lb2k on line 3
Process exited with code 255.

preferences:
169.11 ms | 1395 KiB | 36 Q