3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <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>"; ?> </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.3.40.0080.00618.69
8.3.30.0100.00319.23
8.3.20.0000.00820.27
8.3.10.0040.00423.56
8.3.00.0040.00420.88
8.2.170.0070.00722.96
8.2.160.0040.01120.43
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0140.00426.16
8.2.120.0080.00019.36
8.2.110.0080.00020.51
8.2.100.0060.00617.91
8.2.90.0040.00419.23
8.2.80.0080.00017.97
8.2.70.0030.00617.75
8.2.60.0090.00017.93
8.2.50.0080.00018.07
8.2.40.0040.00419.94
8.2.30.0040.00418.38
8.2.20.0040.00417.86
8.2.10.0040.00418.00
8.2.00.0040.00417.66
8.1.270.0080.00022.07
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0060.00622.07
8.1.230.0110.00021.03
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0050.00617.13
8.1.190.0000.00817.25
8.1.180.0000.00818.10
8.1.170.0000.00818.50
8.1.160.0000.00722.00
8.1.150.0000.00718.69
8.1.140.0070.00017.56
8.1.130.0040.00417.75
8.1.120.0000.00717.50
8.1.110.0000.00717.46
8.1.100.0080.00017.41
8.1.90.0040.00417.50
8.1.80.0030.00517.51
8.1.70.0040.00417.33
8.1.60.0080.00317.48
8.1.50.0030.00617.52
8.1.40.0060.00317.55
8.1.30.0040.00417.55
8.1.20.0000.00817.68
8.1.10.0040.00417.59
8.1.00.0030.00617.45
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0040.00418.36
8.0.270.0080.00017.18
8.0.260.0060.00017.18
8.0.250.0040.00416.94
8.0.240.0050.00316.91
8.0.230.0030.00316.93
8.0.220.0070.00016.91
8.0.210.0040.00416.98
8.0.200.0090.00016.99
8.0.190.0040.00417.07
8.0.180.0030.00516.94
8.0.170.0000.00817.02
8.0.160.0040.00417.02
8.0.150.0000.00716.80
8.0.140.0040.00416.89
8.0.130.0070.00013.47
8.0.120.0040.00416.89
8.0.110.0040.00416.80
8.0.100.0000.00716.94
8.0.90.0000.00717.01
8.0.80.0060.00916.90
8.0.70.0000.00716.99
8.0.60.0050.00216.94
8.0.50.0070.00016.86
8.0.30.0130.00617.07
8.0.20.0090.01117.40
8.0.10.0000.00717.06
8.0.00.0110.00916.79
7.4.330.0000.00515.20
7.4.320.0030.00316.65
7.4.300.0000.00716.51
7.4.290.0040.00416.53
7.4.280.0040.00416.64
7.4.270.0000.00816.53
7.4.260.0030.00316.63
7.4.250.0040.00416.39
7.4.240.0030.00416.60
7.4.230.0000.00716.70
7.4.220.0120.00616.47
7.4.210.0050.00916.70
7.4.200.0000.00716.50
7.4.160.0120.00316.70
7.4.150.0090.00917.40
7.4.140.0080.01217.86
7.4.130.0100.00716.59
7.4.120.0110.00616.47
7.4.110.0140.00416.54
7.4.100.0090.01216.60
7.4.90.0100.01016.52
7.4.80.0160.00619.39
7.4.70.0060.01116.44
7.4.60.0030.01416.73
7.4.50.0030.00316.56
7.4.40.0120.00616.45
7.4.30.0000.01616.50
7.4.00.0070.01014.88
7.3.330.0000.00713.10
7.3.320.0060.00013.10
7.3.310.0070.00016.10
7.3.300.0040.00316.34
7.3.290.0040.01216.40
7.3.280.0110.01216.23
7.3.270.0030.01317.40
7.3.260.0140.00516.43
7.3.250.0110.00616.39
7.3.240.0060.01216.42
7.3.230.0090.00916.61
7.3.210.0110.00616.51
7.3.200.0070.01419.39
7.3.190.0100.00716.60
7.3.180.0080.00816.23
7.3.170.0180.01816.47
7.3.160.0030.01216.44
7.3.120.0050.01214.88
7.3.110.0060.01014.93
7.3.100.0040.01214.90
7.3.90.0040.01114.69
7.3.80.0040.00814.71
7.3.70.0040.01114.89
7.3.60.0110.00314.88
7.3.50.0040.00414.61
7.3.40.0080.00814.60
7.3.30.0070.00714.68
7.3.20.0100.00316.52
7.3.10.0040.01116.72
7.3.00.0030.01016.60
7.2.330.0040.01416.45
7.2.320.0150.00316.36
7.2.310.0080.00816.73
7.2.300.0110.00616.33
7.2.290.0180.00616.24
7.2.250.0130.00314.74
7.2.240.0060.01315.20
7.2.230.0040.00915.23
7.2.220.0060.00914.96
7.2.210.0100.00314.95
7.2.200.0000.01415.20
7.2.190.0070.01014.96
7.2.180.0070.00715.13
7.2.170.0030.00914.89
7.2.60.0090.00617.04
7.2.00.0000.01618.52
7.1.330.0090.00615.66
7.1.320.0000.01815.67
7.1.310.0000.01115.79
7.1.300.0060.00615.47
7.1.290.0040.00415.79
7.1.280.0060.00615.73
7.1.270.0060.00615.78
7.1.260.0120.00315.74
7.1.200.0000.01215.76
7.1.100.0060.00618.18
7.1.70.0000.01617.15
7.1.60.0110.01419.70
7.1.50.0090.01616.59
7.1.00.0030.07722.45
7.0.200.0030.00616.63
7.0.140.0030.07321.97
7.0.60.0070.09019.87
7.0.50.0030.07717.91
7.0.40.0100.04320.20
7.0.30.0500.07320.18
7.0.20.0270.07019.97
7.0.10.0100.08020.16
7.0.00.0000.04720.01
5.6.280.0070.09721.14
5.6.210.0070.08020.54
5.6.200.0100.08318.10
5.6.190.0000.04720.45
5.6.180.0100.04320.63
5.6.170.0370.07020.47
5.6.160.0030.04020.46
5.6.150.0030.04018.16
5.6.140.0100.07318.22
5.6.130.0100.06318.16
5.6.120.0130.07720.96
5.6.110.0130.05320.98
5.6.100.0100.08021.13
5.6.90.0030.08321.00
5.6.80.0000.05320.50
5.6.70.3900.02720.39
5.5.350.0230.06020.46
5.5.340.0130.07017.95
5.5.330.0130.07320.40
5.5.320.0170.05020.28
5.5.310.0200.03720.30
5.5.300.0070.06318.02
5.5.290.0070.08318.00
5.5.280.0130.08020.89
5.5.270.0030.04020.88
5.5.260.0170.08020.88
5.5.250.0030.09020.45
5.5.240.0270.07320.15
5.4.450.0030.08319.24
5.4.440.0130.07019.11
5.4.430.0070.05019.39
5.4.420.0030.07719.19
5.4.410.0070.07019.31
5.4.400.0030.08019.08
5.4.390.0000.05019.09
5.4.380.0100.03719.09
5.4.370.0100.04319.08
5.4.360.0070.08018.81
5.4.350.0100.07718.79
5.4.340.0030.06019.18
5.4.320.0070.06719.15
5.4.310.0170.06719.08
5.4.300.0100.06319.08
5.4.290.0000.04318.79
5.4.280.0000.04318.79
5.4.270.0130.05718.80
5.4.260.0100.04018.91
5.4.250.0170.05719.17
5.4.240.0070.04319.00
5.4.230.0000.05319.15
5.4.220.0030.07019.07
5.4.210.0070.08018.78
5.4.200.0000.05019.17
5.4.190.0030.05318.79
5.4.180.0170.06319.12
5.4.170.0000.07719.13
5.4.160.0030.04718.79
5.4.150.0130.07018.77
5.4.140.0070.03716.35
5.4.130.0070.03316.44
5.4.120.0000.04716.28
5.4.110.0030.03716.60
5.4.100.0100.05316.15
5.4.90.0070.05316.61
5.4.80.0030.04016.18
5.4.70.0100.03716.22
5.4.60.0000.07716.22
5.4.50.0070.05716.32
5.4.40.0070.03316.21
5.4.30.0070.06716.25
5.4.20.0030.04016.57
5.4.10.0000.04716.66
5.4.00.0000.08015.69
5.3.290.0070.04314.60
5.3.280.0100.03314.67
5.3.270.0100.05314.56
5.3.260.0100.05714.54
5.3.250.0130.06314.39
5.3.240.0070.04314.53
5.3.230.0070.04714.54
5.3.220.0070.07014.46
5.3.210.0000.04314.49
5.3.200.0030.08014.53
5.3.190.0130.05714.51
5.3.180.0070.07314.50
5.3.170.0030.04314.50
5.3.160.0030.07314.50
5.3.150.0030.06014.52
5.3.140.0000.04314.47
5.3.130.0070.04714.50
5.3.120.0130.06714.51
5.3.110.0100.04314.50
5.3.100.0100.07313.96
5.3.90.0100.07013.84
5.3.80.0030.07713.87
5.3.70.0070.07713.95
5.3.60.0030.03713.92
5.3.50.0070.03313.73
5.3.40.0030.04014.03
5.3.30.0070.07013.84
5.3.20.0070.06713.52
5.3.10.0000.04013.60
5.3.00.0000.03713.59
5.2.170.0030.03311.30
5.2.160.0130.05311.13
5.2.150.0100.03011.23
5.2.140.0100.05711.02
5.2.130.0030.04011.04
5.2.120.0070.02311.04
5.2.110.0000.03010.95
5.2.100.0070.02310.92
5.2.90.0000.03011.25
5.2.80.0130.02711.02
5.2.70.0070.03011.07
5.2.60.0030.02711.03
5.2.50.0070.02310.91
5.2.40.0070.02310.85
5.2.30.0030.02710.95
5.2.20.0000.03010.95
5.2.10.0100.02010.85
5.2.00.0030.02710.71
5.1.60.0000.02310.00
5.1.50.0070.0209.98
5.1.40.0030.0279.81
5.1.30.0000.02710.36
5.1.20.0030.02310.35
5.1.10.0030.02310.14
5.1.00.0000.02710.04
5.0.50.0030.0209.06
5.0.40.0000.0209.06
5.0.30.0000.0309.06
5.0.20.0030.0179.06
5.0.10.0000.0239.06
5.0.00.0000.0309.06
4.4.90.0030.0139.06
4.4.80.0000.0179.06
4.4.70.0030.0139.06
4.4.60.0000.0179.06
4.4.50.0000.0139.06
4.4.40.0000.0279.06
4.4.30.0000.0179.06
4.4.20.0070.0109.06
4.4.10.0000.0179.06
4.4.00.0000.0239.06
4.3.110.0000.0139.06
4.3.100.0000.0139.06
4.3.90.0000.0179.06
4.3.80.0000.0239.06
4.3.70.0000.0139.06
4.3.60.0000.0139.06
4.3.50.0000.0139.06
4.3.40.0000.0239.06
4.3.30.0000.0139.06
4.3.20.0030.0139.06
4.3.10.0000.0139.06
4.3.00.0000.0179.06

preferences:
55.57 ms | 400 KiB | 5 Q