3v4l.org

run code in 300+ PHP versions simultaneously
<?php <form method='POST'> <h2>Please input your name:</h2> <input type="text" name="name"> <input type="submit" value="Submit Name"> </form> <?php //Retrieve name from query string and store to a local variable $name = $_POST['name']; echo "<h3> Hello $name </h3>"; ?> - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.PEQd09Dz.dpuf ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '<' in /in/0arFD on line 2
Process exited with code 255.

preferences:
187.32 ms | 1387 KiB | 67 Q