3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_POST['submit'])) { $name = $_POST['name']; echo "User Has submitted the form and entered this name : <b> $name </b>"; echo "<br>You can use the following form again to enter a new name."; } ?> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" name="name"><br> <input type="submit" name="submit" value="Submit Form"><br> </form>

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.3.60.0170.00318.43
8.3.50.0160.00221.21
8.3.40.0090.00618.85
8.3.30.0070.00720.34
8.3.20.0080.00020.41
8.3.10.0050.00321.04
8.3.00.0000.00923.33
8.2.180.0070.00716.75
8.2.170.0110.00422.96
8.2.160.0040.01120.52
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00421.05
8.2.110.0080.00419.29
8.2.100.0120.00017.70
8.2.90.0040.00419.17
8.2.80.0030.00717.97
8.2.70.0000.00917.63
8.2.60.0000.00718.03
8.2.50.0040.00418.07
8.2.40.0000.00918.15
8.2.30.0040.00419.45
8.2.20.0000.00717.76
8.2.10.0000.00717.72
8.2.00.0040.00417.79
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.46
8.1.230.0090.00320.94
8.1.220.0040.00418.77
8.1.210.0040.00418.94
8.1.200.0060.00317.35
8.1.190.0050.00317.54
8.1.180.0090.00618.10
8.1.170.0000.00818.56
8.1.160.0000.00718.73
8.1.150.0030.00518.59
8.1.140.0070.00017.33
8.1.130.0030.00317.68
8.1.120.0070.00017.43
8.1.110.0040.00417.44
8.1.100.0080.00017.29
8.1.90.0020.00517.30
8.1.80.0030.00517.42
8.1.70.0000.00717.36
8.1.60.0040.00417.45
8.1.50.0070.00017.43
8.1.40.0000.01017.48
8.1.30.0030.00517.60
8.1.20.0000.00817.61
8.1.10.0000.00817.56
8.1.00.0000.00717.34
8.0.300.0040.00419.84
8.0.290.0030.00317.05
8.0.280.0000.00718.30
8.0.270.0070.00017.22
8.0.260.0060.00016.77
8.0.250.0040.00416.88
8.0.240.0030.00516.91
8.0.230.0030.00516.79
8.0.220.0030.00616.82
8.0.210.0070.00016.83
8.0.200.0000.00616.82
8.0.190.0000.00716.78
8.0.180.0000.00716.87
8.0.170.0040.00416.78
8.0.160.0030.00416.88
8.0.150.0070.00016.79
8.0.140.0040.00416.81
8.0.130.0000.00513.28
8.0.120.0000.00816.80
8.0.110.0000.00816.90
8.0.100.0070.00016.95
8.0.90.0040.00416.95
8.0.80.0100.00616.84
8.0.70.0000.00716.81
8.0.60.0070.00016.80
8.0.50.0020.00516.69
8.0.30.0120.00716.89
8.0.20.0120.00717.41
8.0.10.0200.01717.40
8.0.00.0190.00616.92
7.4.330.0060.00014.88
7.4.320.0040.00416.56
7.4.300.0030.00316.48
7.4.290.0000.00716.40
7.4.280.0060.00016.55
7.4.270.0030.00316.50
7.4.260.0060.00013.15
7.4.250.0000.00716.32
7.4.240.0000.00716.46
7.4.230.0030.00316.63
7.4.220.0000.01816.64
7.4.210.0050.01016.58
7.4.200.0040.00416.41
7.4.190.0030.00316.60
7.4.160.0060.00916.37
7.4.150.0110.00617.40
7.4.140.0160.00917.70
7.4.130.0150.00716.68
7.4.120.0110.01016.83
7.4.110.0180.00716.97
7.4.100.0170.00816.91
7.4.90.0170.00716.98
7.4.80.0150.00618.40
7.4.70.0120.00716.85
7.4.60.0120.00916.92
7.4.50.0110.00316.94
7.4.40.0150.00520.09
7.4.30.0130.00716.95
7.4.20.0000.01717.40
7.4.10.0080.01117.40
7.4.00.0060.01016.27
7.3.330.0030.00313.03
7.3.320.0080.00013.16
7.3.310.0070.00016.27
7.3.300.0000.00716.16
7.3.290.0120.00416.22
7.3.280.0080.00916.33
7.3.270.0050.01117.40
7.3.260.0150.00818.03
7.3.250.0190.00416.65
7.3.240.0230.00416.88
7.3.230.0120.01216.98
7.3.220.0200.01517.40
7.3.210.0180.00716.79
7.3.200.0130.00918.40
7.3.190.0130.00816.91
7.3.180.0090.00916.96
7.3.170.0090.01016.99
7.3.160.0110.01016.82
7.3.150.0160.00417.40
7.3.140.0150.00317.40
7.3.130.0170.02017.40
7.3.120.0100.00716.12
7.3.110.0150.00317.40
7.3.100.0060.01117.40
7.3.90.0100.00717.40
7.3.80.0120.00617.40
7.3.70.0130.00517.40
7.3.60.0070.01417.40
7.3.50.0070.01017.40
7.3.40.0080.00817.40
7.3.30.0100.00717.40
7.3.20.0060.01217.40
7.3.10.0070.00616.83
7.3.00.0090.00516.81
7.2.340.0270.00617.40
7.2.330.0170.00916.98
7.2.320.0260.00517.00
7.2.310.0130.01116.89
7.2.300.0200.00417.02
7.2.290.0180.00716.88
7.2.280.0180.01317.40
7.2.270.0140.01717.40
7.2.260.0250.00717.40
7.2.250.0250.01317.40
7.2.240.0210.01117.40
7.2.230.0270.00617.40
7.2.220.0170.01417.40
7.2.210.0190.01317.40
7.2.200.0300.00317.40
7.2.190.0270.00517.40
7.2.180.0250.00617.40
7.2.170.0190.01117.40
7.2.160.0180.01417.40
7.2.150.0270.00817.40
7.2.140.0510.00317.40
7.2.130.0110.00716.93
7.2.120.0110.00717.01
7.2.110.0110.00916.87
7.2.100.0110.00616.94
7.2.90.0120.00616.87
7.2.80.0090.01116.96
7.2.70.0090.00917.11
7.2.60.0140.00416.94
7.2.50.0090.00917.03
7.2.40.0100.01017.03
7.2.30.0100.01016.88
7.2.20.0080.01016.97
7.2.10.0110.00716.92
7.2.00.0130.00616.87
7.1.330.0200.01017.40
7.1.320.0240.00417.40
7.1.310.0220.00817.40
7.1.300.0250.00617.40
7.1.290.0160.01217.40
7.1.280.0250.00917.40
7.1.270.0340.00017.40
7.1.260.0230.00517.40
7.1.250.0060.01016.11
7.1.240.0150.01517.40
7.1.230.0270.00417.40
7.1.220.0260.00317.40
7.1.210.0300.00417.40
7.1.200.0130.00816.50
7.1.190.0230.00917.40
7.1.180.0230.00817.40
7.1.170.0270.00417.40
7.1.160.0220.01117.40
7.1.150.0240.01017.40
7.1.140.0190.01517.40
7.1.130.0230.00717.40
7.1.120.0180.01417.40
7.1.110.0270.00517.40
7.1.100.0200.01017.40
7.1.90.0180.01117.40
7.1.80.0240.00617.40
7.1.70.0180.00217.23
7.1.60.0200.00818.29
7.1.50.0130.01117.19
7.1.40.0180.01117.40
7.1.30.0120.01617.40
7.1.20.0300.00417.40
7.1.10.0250.00417.40
7.1.00.0140.04219.85
7.0.330.0190.00817.40
7.0.320.0210.00617.40
7.0.310.0280.00817.40
7.0.300.0210.00717.40
7.0.290.0220.00717.40
7.0.280.0480.00017.40
7.0.270.0180.00917.40
7.0.260.0330.00317.40
7.0.250.0160.01317.40
7.0.240.0200.00817.40
7.0.230.0220.00617.40
7.0.220.0200.00817.40
7.0.210.0220.00617.40
7.0.200.0140.00517.07
7.0.190.0250.00317.40
7.0.180.0180.00917.40
7.0.170.0240.00417.40
7.0.160.0230.00617.40
7.0.150.0200.01017.40
7.0.140.0090.04219.78
7.0.130.0250.00417.40
7.0.120.0190.01017.40
7.0.110.0200.01017.40
7.0.100.0200.00817.40
7.0.90.0290.00417.40
7.0.80.0280.00717.40
7.0.70.0410.02018.67
7.0.60.0290.02118.67
7.0.50.0230.02418.84
7.0.40.0100.02918.74
7.0.30.0230.04018.79
7.0.20.0140.02418.74
7.0.10.0180.02418.71
7.0.00.0050.03118.71
5.6.400.0230.00817.40
5.6.390.0150.01517.40
5.6.380.0270.00617.40
5.6.370.0250.00417.40
5.6.360.0250.00617.40
5.6.350.0180.01517.40
5.6.340.0140.01817.40
5.6.330.0230.01417.40
5.6.320.0270.00817.40
5.6.310.0170.01417.40
5.6.300.0180.01217.40
5.6.290.0210.01617.40
5.6.280.0160.03619.13
5.6.270.0170.01417.40
5.6.260.0320.00017.40
5.6.250.0250.00717.40
5.6.240.0070.02317.40
5.6.230.0240.00817.40
5.6.220.0120.02719.05
5.6.210.0210.02319.07
5.6.200.0100.03519.26
5.6.190.0160.02019.25
5.6.180.0140.02519.21
5.6.170.0130.02719.26
5.6.160.0130.02619.21
5.6.150.0140.02419.21
5.6.140.0130.02619.22
5.6.130.0180.04419.16
5.6.120.0100.02919.20
5.6.110.0120.02919.28
5.6.100.0150.03819.24
5.6.90.0170.02719.24
5.6.80.0190.03518.93
5.6.70.0130.03918.94
5.6.60.0220.04018.86
5.6.50.0180.02818.86
5.6.40.0080.05018.88
5.6.30.0120.04418.92
5.6.20.0130.04418.88
5.6.10.0200.02718.91
5.6.00.0160.04518.88
5.5.380.0280.00417.40
5.5.370.0220.01117.40
5.5.360.0140.04318.87
5.5.350.0090.02718.93
5.5.340.0130.02419.14
5.5.330.0130.03419.02
5.5.320.0150.02519.14
5.5.310.0120.02619.09
5.5.300.0150.04619.14
5.5.290.0210.04119.13
5.5.280.0180.02819.11
5.5.270.0170.02419.01
5.5.260.0130.02719.15
5.5.250.0120.02519.06
5.5.240.0180.03018.76
5.5.230.0170.04518.83
5.5.220.0110.04618.80
5.5.210.0110.04618.81
5.5.200.0190.04318.78
5.5.190.0120.04718.75
5.5.180.0140.03118.83
5.5.170.0230.00817.40
5.5.160.0110.05018.82
5.5.150.0160.04418.77
5.5.140.0110.03018.81
5.5.130.0160.02818.82
5.5.120.0120.03518.80
5.5.110.0130.03918.77
5.5.100.0220.01618.71
5.5.90.0170.03518.77
5.5.80.0150.04018.73
5.5.70.0200.03818.75
5.5.60.0140.04618.70
5.5.50.0130.05018.74
5.5.40.0130.04818.72
5.5.30.0200.04318.74
5.5.20.0150.04318.72
5.5.10.0150.04318.75
5.5.00.0140.03818.68
5.4.450.0100.02218.43
5.4.440.0120.02118.31
5.4.430.0150.04218.41
5.4.420.0100.03818.41
5.4.410.0130.02018.33
5.4.400.0100.02418.19
5.4.390.0110.04818.26
5.4.380.0200.03318.32
5.4.370.0060.03818.15
5.4.360.0150.04118.19
5.4.350.0190.04618.27
5.4.340.0110.04318.22
5.4.330.0200.00517.40
5.4.320.0160.03618.26
5.4.310.0220.03018.21
5.4.300.0170.02218.23
5.4.290.0150.03418.12
5.4.280.0100.04318.32
5.4.270.0130.04218.18
5.4.260.0120.02918.27
5.4.250.0180.03718.26
5.4.240.0110.04018.22
5.4.230.0120.03418.09
5.4.220.0180.03618.26
5.4.210.0130.04718.23
5.4.200.0130.03418.21
5.4.190.0130.03718.10
5.4.180.0120.04218.10
5.4.170.0150.03718.21
5.4.160.0130.03818.21
5.4.150.0130.03818.16
5.4.140.0090.03916.87
5.4.130.0140.02916.73
5.4.120.0100.03316.88
5.4.110.0110.02616.81
5.4.100.0100.03016.85
5.4.90.0030.03716.85
5.4.80.0120.04016.86
5.4.70.0090.04416.81
5.4.60.0130.03616.80
5.4.50.0080.03516.80
5.4.40.0080.03316.84
5.4.30.0120.04116.90
5.4.20.0140.04016.88
5.4.10.0090.04416.79
5.4.00.0150.03616.56
5.3.290.0130.04116.04
5.3.280.0140.04115.99
5.3.270.0130.03815.93
5.3.260.0070.04515.97
5.3.250.0200.03316.01
5.3.240.0080.04516.00
5.3.230.0170.04115.99
5.3.220.0100.03815.94
5.3.210.0100.03615.94
5.3.200.0080.04715.98
5.3.190.0090.02915.92
5.3.180.0150.04015.95
5.3.170.0140.03615.98
5.3.160.0090.04615.95
5.3.150.0100.02715.93
5.3.140.0200.02015.91
5.3.130.0090.04415.90
5.3.120.0160.03415.93
5.3.110.0090.04215.90
5.3.100.0110.02715.65
5.3.90.0110.03815.63
5.3.80.0060.05015.71
5.3.70.0130.03815.64
5.3.60.0110.02615.69
5.3.50.0150.02015.63
5.3.40.0090.02715.60
5.3.30.0140.03915.64
5.3.20.0120.03915.43
5.3.10.0100.04215.52
5.3.00.0100.03315.45

preferences:
33.84 ms | 400 KiB | 5 Q