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>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.30.0290.01016.63
8.5.20.0300.01216.41
8.5.10.0350.00616.53
8.5.00.0330.00716.54
8.4.180.0370.01119.07
8.4.170.0290.01319.80
8.4.160.0240.01219.46
8.4.150.0150.00819.72
8.4.140.0300.00917.44
8.4.130.0360.00817.65
8.4.120.0360.00717.73
8.4.110.0370.01317.65
8.4.100.0350.00917.93
8.4.90.0390.00817.74
8.4.80.0450.00517.53
8.4.70.0400.00917.47
8.4.60.0400.00817.80
8.4.50.0400.00817.62
8.4.40.0440.00817.55
8.4.30.0380.00817.59
8.4.20.0390.00817.59
8.4.10.0400.00817.76
8.3.300.0430.01218.07
8.3.290.0340.00818.43
8.3.280.0170.00718.43
8.3.270.0330.01016.81
8.3.260.0310.01016.51
8.3.250.0340.01316.60
8.3.240.0350.00816.73
8.3.230.0360.00716.63
8.3.220.0400.00716.40
8.3.210.0340.01016.70
8.3.200.0340.00816.50
8.3.190.0380.00916.68
8.3.180.0400.00816.59
8.3.170.0370.00916.46
8.3.160.0410.01116.47
8.3.150.0420.00716.60
8.3.140.0360.01116.64
8.3.130.0370.00516.65
8.3.120.0350.00816.54
8.3.110.0380.00916.74
8.3.100.0380.01016.48
8.3.90.0420.00816.66
8.3.80.0370.01016.62
8.3.70.0350.01416.55
8.3.60.0400.00716.35
8.3.50.0350.00816.55
8.3.40.0370.00917.98
8.3.30.0340.00917.66
8.3.20.0360.00417.90
8.3.10.0270.01017.79
8.3.00.0290.00617.91

preferences:
43.16 ms | 729 KiB | 5 Q