3v4l.org

run code in 300+ PHP versions simultaneously
form.php <!DOCTYPE html> <html> <head> <title>Registration Form</title> </head> <body> <h2>User Registration</h2> <form method="POST" action="form.php"> Name: <input type="text" name="name"><br><br> Email: <input type="email" name="email"><br><br> Phone: <input type="text" name="phone"><br><br> <input type="submit" name="submit" value="Submit"> </form> <?php if(isset($_POST['submit'])) { $name = $_POST['name']; $email = $_POST['email']; $phone = $_POST['phone']; echo "<h3>Submitted Data</h3>"; echo "Name: ".$name."<br>"; echo "Email: ".$email."<br>"; echo "Phone: ".$phone; } ?> </body> </html>
Output for git.master_jit, git.master
form.php <!DOCTYPE html> <html> <head> <title>Registration Form</title> </head> <body> <h2>User Registration</h2> <form method="POST" action="form.php"> Name: <input type="text" name="name"><br><br> Email: <input type="email" name="email"><br><br> Phone: <input type="text" name="phone"><br><br> <input type="submit" name="submit" value="Submit"> </form> </body> </html>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.25 ms | 730 KiB | 4 Q