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.0040.01118.30
8.3.50.0140.00322.82
8.3.40.0110.00418.60
8.3.30.0100.00318.95
8.3.20.0040.00420.16
8.3.10.0040.00423.48
8.3.00.0060.00319.25
8.2.180.0130.00618.38
8.2.170.0110.00322.96
8.2.160.0140.00020.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0040.00421.03
8.2.110.0060.00322.16
8.2.100.0000.01117.66
8.2.90.0100.00018.83
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0080.00017.80
8.2.50.0000.00818.07
8.2.40.0080.00018.02
8.2.30.0040.00417.80
8.2.20.0000.00717.42
8.2.10.0050.00317.87
8.2.00.0000.00817.58
8.1.280.0180.00025.92
8.1.270.0080.00023.82
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0060.00619.16
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0040.00417.22
8.1.180.0000.00718.10
8.1.170.0040.00418.36
8.1.160.0040.00421.92
8.1.150.0050.00218.80
8.1.140.0090.00017.27
8.1.130.0000.00717.73
8.1.120.0040.00417.34
8.1.110.0040.00417.38
8.1.100.0070.00017.34
8.1.90.0090.00017.19
8.1.80.0000.00717.24
8.1.70.0030.00317.24
8.1.60.0000.00817.45
8.1.50.0000.00817.41
8.1.40.0030.00517.39
8.1.30.0030.00517.43
8.1.20.0000.00817.48
8.1.10.0000.00817.37
8.1.00.0040.00417.31
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.38
8.0.270.0000.00717.09
8.0.260.0030.00317.22
8.0.250.0060.00016.81
8.0.240.0040.00416.79
8.0.230.0000.00816.79
8.0.220.0000.00716.75
8.0.210.0040.00416.62
8.0.200.0060.00016.70
8.0.190.0030.00516.80
8.0.180.0000.00816.66
8.0.170.0040.00416.75
8.0.160.0070.00016.75
8.0.150.0020.00516.64
8.0.140.0040.00416.73
8.0.130.0000.00713.35
8.0.120.0000.00816.80
8.0.110.0040.00416.66
8.0.100.0080.00016.86
8.0.90.0070.00016.78
8.0.80.0100.00716.63
8.0.70.0040.00416.77
8.0.60.0000.00716.82
8.0.50.0000.00716.54
8.0.30.0160.00616.93
8.0.20.0150.01817.40
8.0.10.0000.00716.91
8.0.00.0080.01016.71
7.4.330.0030.00315.00
7.4.320.0030.00316.44
7.4.300.0070.00016.29
7.4.290.0000.00916.46
7.4.280.0000.00816.27
7.4.270.0000.00716.38
7.4.260.0040.00416.46
7.4.250.0050.00316.33
7.4.240.0000.00716.36
7.4.230.0040.00416.46
7.4.220.0030.01316.48
7.4.210.0000.01416.41
7.4.200.0030.00316.56
7.4.160.0060.00916.14
7.4.150.0180.00617.40
7.4.140.0100.00617.86
7.4.130.0110.00516.48
7.4.120.0080.00816.54
7.4.110.0130.00616.41
7.4.100.0120.00616.37
7.4.90.0070.01416.47
7.4.80.0000.01619.39
7.4.70.0000.01616.17
7.4.60.0100.00716.35
7.4.50.0050.00316.39
7.4.40.0110.00416.30
7.4.30.0060.00916.31
7.4.00.0060.00914.96
7.3.330.0080.00013.02
7.3.320.0000.00512.99
7.3.310.0000.00816.13
7.3.300.0030.00316.10
7.3.290.0100.00316.17
7.3.280.0070.00916.13
7.3.270.0100.00717.40
7.3.260.0140.00316.19
7.3.250.0050.01116.44
7.3.240.0060.01216.36
7.3.230.0100.01316.39
7.3.210.0160.00616.38
7.3.200.0030.01419.39
7.3.190.0070.01016.43
7.3.180.0040.01216.57
7.3.170.0060.00916.27
7.3.160.0060.01016.18
7.3.10.0040.00816.27
7.3.00.0130.00316.45
7.2.330.0070.01116.18
7.2.320.0070.01116.38
7.2.310.0110.00916.33
7.2.300.0060.00916.48
7.2.290.0110.00416.40
7.2.130.0070.01016.42
7.2.120.0040.01116.89
7.2.110.0040.01116.93
7.2.100.0120.00316.66
7.2.90.0030.01016.84
7.2.80.0060.00716.95
7.2.70.0060.00616.65
7.2.60.0040.01116.82
7.2.50.0030.01316.91
7.2.40.0100.00016.67
7.2.30.0090.00616.47
7.2.20.0040.01516.62
7.2.10.0070.00716.80
7.2.00.0060.00617.94
7.1.250.0030.00715.51
7.1.200.0040.00815.86
7.1.100.0000.00918.14
7.1.70.0000.00716.79
7.1.60.0070.01319.40
7.1.50.0000.02316.54
7.1.00.0130.06722.42
7.0.200.0000.00816.48
7.0.140.0070.07022.04
7.0.60.0100.08319.91
7.0.50.0100.07317.80
7.0.40.0030.05320.02
7.0.30.0200.03720.34
7.0.20.0230.05720.09
7.0.10.0000.06020.13
7.0.00.0100.04020.12
5.6.280.0000.07721.01
5.6.210.0030.04020.60
5.6.200.0100.07718.16
5.6.190.0000.04320.41
5.6.180.0370.07320.27
5.6.170.0300.07720.38
5.6.160.0200.07320.37
5.6.150.0100.04718.11
5.6.140.0030.06018.21
5.6.130.0030.05018.15
5.6.120.0070.08721.13
5.6.110.0100.04021.11
5.6.100.0030.04020.99
5.6.90.0070.08721.12
5.6.80.0030.06320.49
5.5.350.4330.03020.43
5.5.340.0070.04017.98
5.5.330.0100.07320.40
5.5.320.0270.04020.51
5.5.310.0270.04720.27
5.5.300.0070.07018.02
5.5.290.0030.08717.89
5.5.280.0030.09020.84
5.5.270.0100.03320.72
5.5.260.0000.04320.88
5.5.250.0130.06720.68
5.5.240.0300.06720.12
5.4.450.0270.03319.54
5.4.440.0570.04719.48
5.4.430.0070.04319.56
5.4.420.0700.03719.48
5.4.410.0400.03719.13
5.4.400.0330.03319.25
5.4.390.0400.04319.09
5.4.380.0270.05718.69
5.4.370.0230.05718.56
5.4.360.0300.05018.60
5.4.350.0270.05318.65
5.4.340.0270.05718.68
5.4.320.0040.03712.45
5.4.310.0040.03912.45
5.4.300.0050.03612.45
5.4.290.0100.03912.45
5.4.280.0050.03812.34
5.4.270.0060.03512.34
5.4.260.0040.03912.35
5.4.250.0060.03712.34
5.4.240.0040.03812.34
5.4.230.0040.03812.34
5.4.220.0080.03412.34
5.4.210.0060.03512.34
5.4.200.0060.03712.34
5.4.190.0050.03712.33
5.4.180.0050.03612.33
5.4.170.0050.03612.34
5.4.160.0100.03112.34
5.4.150.0090.04912.34
5.4.140.0060.04512.02
5.4.130.0070.03412.01
5.4.120.0050.05211.97
5.4.110.0040.03711.96
5.4.100.0030.03811.96
5.4.90.0080.03511.96
5.4.80.0050.03611.96
5.4.70.0070.03411.96
5.4.60.0060.03411.96
5.4.50.0080.05211.96
5.4.40.0050.03711.95
5.4.30.0090.04511.95
5.4.20.0060.03511.95
5.4.10.0090.03311.95
5.4.00.0080.03611.43
5.3.290.0080.03712.80
5.3.280.0080.03512.71
5.3.270.0100.03412.73
5.3.260.0120.04312.71
5.3.250.0080.05312.72
5.3.240.0050.05112.72
5.3.230.0070.03612.71
5.3.220.0060.03712.68
5.3.210.0040.04012.68
5.3.200.0070.04612.68
5.3.190.0080.05012.68
5.3.180.0060.03712.68
5.3.170.0030.04012.67
5.3.160.0060.03612.68
5.3.150.0070.03812.68
5.3.140.0070.03512.66
5.3.130.0030.04112.66
5.3.120.0090.03512.66
5.3.110.0070.03712.66
5.3.100.0030.03912.12
5.3.90.0050.03912.08
5.3.80.0070.03812.07
5.3.70.0070.03412.07
5.3.60.0050.03612.06
5.3.50.0080.03312.00
5.3.40.0050.03712.00
5.3.30.0060.03411.94
5.3.20.0070.03411.72
5.3.10.0050.03511.69
5.3.00.0060.03511.67
5.2.170.0030.0319.17
5.2.160.0060.0279.18
5.2.150.0030.0319.18
5.2.140.0030.0319.17
5.2.130.0090.0249.13
5.2.120.0050.0419.13
5.2.110.0050.0409.14
5.2.100.0050.0419.14
5.2.90.0010.0329.13
5.2.80.0100.0389.13
5.2.70.0070.0409.13
5.2.60.0040.0439.08
5.2.50.0070.0399.05
5.2.40.0070.0389.03
5.2.30.0060.0399.01
5.2.20.0060.0389.00
5.2.10.0080.0358.91
5.2.00.0030.0438.77
5.1.60.0080.0318.05
5.1.50.0060.0318.05
5.1.40.0040.0248.04
5.1.30.0090.0238.39
5.1.20.0070.0268.41
5.1.10.0050.0358.13
5.1.00.0050.0258.13
5.0.50.0040.0206.61
5.0.40.0060.0216.47
5.0.30.0040.0396.28
5.0.20.0000.0236.25
5.0.10.0050.0206.24
5.0.00.0040.0306.23
4.4.90.0030.0154.78
4.4.80.0030.0154.76
4.4.70.0040.0144.75
4.4.60.0040.0144.76
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0010.0174.76
4.4.20.0020.0164.85
4.4.10.0030.0154.85
4.4.00.0040.0234.76
4.3.110.0030.0154.67
4.3.100.0030.0144.66
4.3.90.0020.0154.63
4.3.80.0010.0264.59
4.3.70.0020.0214.63
4.3.60.0020.0154.63
4.3.50.0000.0194.63
4.3.40.0030.0244.54
4.3.30.0010.0173.28
4.3.20.0020.0163.26
4.3.10.0010.0163.22
4.3.00.0070.01315.98

preferences:
44.92 ms | 401 KiB | 5 Q