3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $t= "How are you doing"; $y= "I am doing very well today"; $greetings=array("bad", "good" ,"great"); echo $t; echo "<br>"; echo "Study PHP at $y"; echo "<br>"; echo "My car is a {$greetings[0]}"; </body> </html>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '<' in /in/ju3F8 on line 15
Process exited with code 255.

preferences:
182.72 ms | 1395 KiB | 65 Q