3v4l.org

run code in 300+ PHP versions simultaneously
<?php Coffee = "tasty"; if (Coffee == tasty) { echo "Code is good"; } elseif (Coffee == strong) { echo "Code is clean"; } elseif (Coffee == tasty and Coffee == strong) { echo "Code is AMAZING!"; } else { echo "Programmer.exe has stopped working"; } ?>
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0
Parse error: syntax error, unexpected '=' in /in/L6tGF on line 2
Process exited with code 255.

preferences:
173.61 ms | 1395 KiB | 24 Q