3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <form action="welcome.php" method="post"> Name: <input type="text" $name="name"><br> <input type="submit"> </form> <?php echo 'Hello, $name'<br>; ?> </body> </html>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '>' in /in/0LXho on line 9
Process exited with code 255.

preferences:
181.05 ms | 1399 KiB | 66 Q