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.60.0070.00718.55
8.3.50.0120.00521.92
8.3.40.0040.01118.97
8.3.30.0110.00718.96
8.3.20.0090.00020.09
8.3.10.0100.00023.49
8.3.00.0040.00420.81
8.2.180.0090.00916.88
8.2.170.0070.01422.96
8.2.160.0100.00720.29
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00420.90
8.2.110.0060.00322.31
8.2.100.0060.00617.97
8.2.90.0050.00319.30
8.2.80.0090.00017.97
8.2.70.0000.00917.73
8.2.60.0070.00717.93
8.2.50.0040.00418.07
8.2.40.0000.00920.95
8.2.30.0070.00018.37
8.2.20.0000.01017.85
8.2.10.0050.00318.00
8.2.00.0000.00717.79
8.1.280.0120.00325.92
8.1.270.0040.00423.91
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.98
8.1.230.0000.01019.14
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0000.01217.13
8.1.190.0090.00017.23
8.1.180.0060.00318.10
8.1.170.0000.00918.48
8.1.160.0050.00322.02
8.1.150.0040.00418.52
8.1.140.0040.00417.45
8.1.130.0030.00317.84
8.1.120.0040.00417.51
8.1.110.0000.00717.40
8.1.100.0050.00317.38
8.1.90.0030.00517.46
8.1.80.0030.00517.35
8.1.70.0000.00717.42
8.1.60.0040.00417.57
8.1.50.0000.00817.43
8.1.40.0080.00017.51
8.1.30.0030.00617.66
8.1.20.0000.00717.64
8.1.10.0000.00717.48
8.1.00.0040.00417.39
8.0.300.0000.00818.77
8.0.290.0040.00417.18
8.0.280.0070.00018.44
8.0.270.0030.00317.14
8.0.260.0000.00717.14
8.0.250.0070.00016.98
8.0.240.0040.00416.95
8.0.230.0030.00317.06
8.0.220.0030.00316.90
8.0.210.0030.00316.84
8.0.200.0040.00416.90
8.0.190.0000.00717.05
8.0.180.0030.00517.01
8.0.170.0000.00717.01
8.0.160.0030.00516.98
8.0.150.0030.00316.87
8.0.140.0080.00016.97
8.0.130.0000.00613.43
8.0.120.0000.00816.88
8.0.110.0040.00416.99
8.0.100.0030.00316.78
8.0.90.0040.00416.90
8.0.80.0060.01016.91
8.0.70.0040.00416.85
8.0.60.0030.00416.88
8.0.50.0070.00016.84
8.0.30.0090.01017.20
8.0.20.0110.00917.40
8.0.10.0050.00217.03
8.0.00.0110.00816.87
7.4.330.0020.00215.03
7.4.320.0060.00016.58
7.4.300.0060.00016.61
7.4.290.0050.00316.47
7.4.280.0040.00316.50
7.4.270.0070.00016.61
7.4.260.0030.00516.49
7.4.250.0040.00416.43
7.4.240.0000.00716.49
7.4.230.0050.00316.63
7.4.220.0130.00616.68
7.4.210.0050.00916.61
7.4.200.0000.00716.67
7.4.190.0000.00816.49
7.4.160.0090.00616.65
7.4.150.0130.00617.40
7.4.140.0130.00617.86
7.4.130.0120.01216.47
7.4.120.0060.01116.54
7.4.110.0060.01216.59
7.4.100.0140.00316.58
7.4.90.0100.00716.51
7.4.80.0070.01519.39
7.4.70.0090.00616.58
7.4.60.0100.01016.43
7.4.50.0030.00516.63
7.4.40.0070.01016.51
7.4.30.0090.01116.48
7.4.00.0070.01014.99
7.3.330.0050.00013.14
7.3.320.0030.00313.13
7.3.310.0070.00016.20
7.3.300.0070.00016.16
7.3.290.0100.00316.30
7.3.280.0040.01216.23
7.3.270.0100.00717.40
7.3.260.0100.01016.61
7.3.250.0080.01116.49
7.3.240.0070.01016.56
7.3.230.0130.01016.39
7.3.210.0040.01416.27
7.3.200.0060.01319.39
7.3.190.0110.00516.56
7.3.180.0040.01216.52
7.3.170.0120.00316.63
7.3.160.0090.01216.48
7.3.120.0040.01114.71
7.2.330.0130.01116.75
7.2.320.0040.01516.67
7.2.310.0070.01016.63
7.2.300.0070.01116.71
7.2.290.0110.00716.59
7.2.00.0060.00919.37
7.1.100.0100.00718.00
7.1.70.0060.00317.14
7.1.60.0130.01019.46
7.1.50.0070.01316.70
7.1.00.0070.07322.51
7.0.200.0040.00416.70
7.0.140.0030.07321.95
7.0.60.0030.06719.91
7.0.50.0070.05717.89
7.0.40.0100.08720.09
7.0.30.0530.07020.16
7.0.20.0330.07720.13
7.0.10.0070.03720.32
7.0.00.0230.07020.08
5.6.280.0000.07721.02
5.6.210.0070.07020.54
5.6.200.0000.05718.09
5.6.190.0130.05720.77
5.6.180.4030.05020.43
5.6.170.0170.05320.48
5.6.160.0030.04320.40
5.6.150.0100.08318.12
5.6.140.0030.04018.11
5.6.130.0030.04018.10
5.6.120.0070.04020.91
5.6.110.0030.09020.85
5.6.100.0230.08021.00
5.6.90.0170.07720.88
5.6.80.0070.05320.50
5.6.70.0230.03720.34
5.5.350.0330.07020.30
5.5.340.0030.03718.02
5.5.330.0000.05020.23
5.5.320.0300.04020.21
5.5.310.0230.08320.30
5.5.300.0030.07317.98
5.5.290.0100.05717.87
5.5.280.0070.04320.84
5.5.270.0100.04720.64
5.5.260.0200.07320.88
5.5.250.0070.09020.61
5.5.240.0400.05720.28
5.4.450.0730.06319.42
5.4.440.1100.06019.60
5.4.430.0930.06319.47
5.4.420.0930.04319.32
5.4.410.0970.06019.47
5.4.400.0100.06019.21
5.4.390.0830.06719.16
5.4.380.0170.07718.51
5.4.370.0270.04318.59
5.4.360.0170.05018.68
5.4.350.0170.05318.62
5.4.340.0170.07018.57
5.4.320.0110.04712.45
5.4.310.0080.04712.45
5.4.300.0080.04012.46
5.4.290.0100.03512.45
5.4.280.0060.03712.34
5.4.270.0040.04012.34
5.4.260.0110.03512.34
5.4.250.0090.03912.34
5.4.240.0040.03812.35
5.4.230.0050.04012.34
5.4.220.0060.03812.34
5.4.210.0090.03312.34
5.4.200.0030.04012.34
5.4.190.0070.03812.34
5.4.180.0070.05412.34
5.4.170.0090.03512.35
5.4.160.0050.03612.34
5.4.150.0060.03612.34
5.4.140.0060.04612.02
5.4.130.0060.03612.01
5.4.120.0090.03211.96
5.4.110.0060.03611.96
5.4.100.0040.03911.96
5.4.90.0060.03711.96
5.4.80.0070.03611.96
5.4.70.0060.03411.96
5.4.60.0050.03611.96
5.4.50.0090.03311.96
5.4.40.0090.03311.95
5.4.30.0060.03611.95
5.4.20.0080.03611.95
5.4.10.0070.03711.95
5.4.00.0080.03511.43
5.3.290.0080.03712.80
5.3.280.0040.03912.71
5.3.270.0050.04012.72
5.3.260.0050.04012.72
5.3.250.0080.03612.72
5.3.240.0050.03912.72
5.3.230.0100.04312.71
5.3.220.0070.03912.68
5.3.210.0050.04212.68
5.3.200.0070.03712.68
5.3.190.0050.04112.68
5.3.180.0080.03612.67
5.3.170.0100.03612.67
5.3.160.0050.04412.67
5.3.150.0090.03712.68
5.3.140.0060.03912.66
5.3.130.0100.04012.66
5.3.120.0050.04712.66
5.3.110.0060.05112.66
5.3.100.0100.05112.12
5.3.90.0090.04312.09
5.3.80.0070.04012.07
5.3.70.0090.04112.07
5.3.60.0070.03812.07
5.3.50.0040.03912.00
5.3.40.0060.03712.00
5.3.30.0090.03411.94
5.3.20.0060.03911.74
5.3.10.0060.03811.69
5.3.00.0080.03911.68
5.2.170.0050.0339.18
5.2.160.0050.0329.18
5.2.150.0020.0349.18
5.2.140.0030.0349.17
5.2.130.0060.0339.13
5.2.120.0080.0339.13
5.2.110.0070.0299.14
5.2.100.0080.0289.13
5.2.90.0030.0339.13
5.2.80.0010.0369.13
5.2.70.0060.0309.13
5.2.60.0040.0349.09
5.2.50.0030.0329.05
5.2.40.0050.0319.04
5.2.30.0020.0329.01
5.2.20.0050.0358.99
5.2.10.0050.0278.92
5.2.00.0070.0288.78
5.1.60.0060.0278.07
5.1.50.0070.0228.06
5.1.40.0040.0248.04
5.1.30.0040.0268.39
5.1.20.0080.0248.41
5.1.10.0080.0238.14
5.1.00.0120.0198.14
5.0.50.0040.0216.62
5.0.40.0050.0186.48
5.0.30.0030.0326.29
5.0.20.0030.0196.26
5.0.10.0060.0176.24
5.0.00.0040.0296.23
4.4.90.0020.0164.78
4.4.80.0060.0164.75
4.4.70.0050.0204.75
4.4.60.0020.0164.75
4.4.50.0050.0144.77
4.4.40.0030.0304.71
4.4.30.0030.0224.75
4.4.20.0050.0214.85
4.4.10.0040.0214.85
4.4.00.0130.0224.76
4.3.110.0040.0184.67
4.3.100.0040.0184.67
4.3.90.0130.0144.64
4.3.80.0050.0334.59
4.3.70.0020.0244.63
4.3.60.0060.0194.63
4.3.50.0060.0224.63
4.3.40.0040.0334.54
4.3.30.0030.0223.28
4.3.20.0030.0243.26
4.3.10.0030.0223.22
4.3.00.0170.0207.23

preferences:
64.62 ms | 400 KiB | 5 Q