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.0070.00718.58
8.3.30.0150.00018.91
8.3.20.0040.00420.16
8.3.10.0050.00323.48
8.3.00.0040.00419.13
8.2.170.0140.00322.96
8.2.160.0090.00618.71
8.2.150.0080.00024.18
8.2.140.0050.00224.66
8.2.130.0050.00226.16
8.2.120.0070.00021.01
8.2.110.0030.00622.07
8.2.100.0110.00017.78
8.2.90.0050.00518.80
8.2.80.0000.00917.97
8.2.70.0000.00817.38
8.2.60.0050.00217.80
8.2.50.0030.00618.07
8.2.40.0040.00417.97
8.2.30.0040.00417.91
8.2.20.0000.00717.60
8.2.10.0070.00017.80
8.2.00.0070.00017.54
8.1.270.0040.00423.76
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.83
8.1.230.0090.00319.16
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0050.00318.60
8.1.160.0000.00821.93
8.1.150.0000.00718.74
8.1.140.0040.00417.29
8.1.130.0000.00717.66
8.1.120.0030.00317.31
8.1.110.0070.00017.36
8.1.100.0050.00217.33
8.1.90.0030.00717.25
8.1.80.0000.00717.33
8.1.70.0070.00017.27
8.1.60.0040.00417.44
8.1.50.0050.00317.34
8.1.40.0060.00317.41
8.1.30.0040.00417.54
8.1.20.0000.00717.39
8.1.10.0040.00417.49
8.1.00.0050.00217.38
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00818.28
8.0.270.0030.00317.16
8.0.260.0060.00017.16
8.0.250.0030.00316.85
8.0.240.0080.00016.80
8.0.230.0040.00416.71
8.0.220.0030.00516.62
8.0.210.0030.00316.80
8.0.200.0000.00616.81
8.0.190.0070.00016.74
8.0.180.0050.00216.84
8.0.170.0000.00716.66
8.0.160.0000.00816.73
8.0.150.0020.00516.64
8.0.140.0050.00216.71
8.0.130.0060.00313.41
8.0.120.0070.00016.60
8.0.110.0000.00716.63
8.0.100.0040.00416.81
8.0.90.0000.00816.81
8.0.80.0130.00316.74
8.0.70.0040.00416.77
8.0.60.0000.00716.77
8.0.50.0000.00716.63
8.0.30.0120.00716.94
8.0.20.0150.00517.40
8.0.10.0040.00416.79
8.0.00.0100.00916.62
7.4.330.0050.00015.07
7.4.320.0000.00616.50
7.4.300.0040.00416.31
7.4.290.0040.00416.41
7.4.280.0040.00416.30
7.4.270.0000.00716.47
7.4.260.0000.00716.48
7.4.250.0040.00416.32
7.4.240.0020.00616.38
7.4.230.0070.00016.54
7.4.220.0070.01316.36
7.4.210.0100.00316.38
7.4.200.0040.00416.21
7.4.160.0100.00716.32
7.4.150.0140.00317.40
7.4.140.0100.00717.86
7.4.130.0110.00616.35
7.4.120.0070.01016.30
7.4.110.0090.00616.29
7.4.100.0060.01016.36
7.4.90.0100.01016.48
7.4.80.0090.01719.39
7.4.70.0060.01016.35
7.4.60.0100.00716.40
7.4.50.0040.00416.27
7.4.40.0000.01616.38
7.4.30.0090.00616.36
7.4.00.0060.00814.89
7.3.330.0040.00412.99
7.3.320.0050.00013.04
7.3.310.0000.00716.18
7.3.300.0030.00316.12
7.3.290.0070.00716.08
7.3.280.0080.00616.14
7.3.270.0150.00317.40
7.3.260.0060.00916.24
7.3.250.0050.01116.33
7.3.240.0090.01116.36
7.3.230.0100.00716.39
7.3.210.0100.00616.45
7.3.200.0100.00619.39
7.3.190.0040.01816.42
7.3.180.0090.00616.18
7.3.170.0130.00316.27
7.3.160.0090.00716.23
7.3.120.0000.01614.66
7.3.110.0090.00314.81
7.3.100.0030.00914.77
7.3.90.0030.00914.77
7.3.80.0030.01114.39
7.3.70.0040.00414.63
7.3.60.0110.00414.79
7.3.50.0070.00714.45
7.3.40.0070.01014.71
7.3.30.0030.00614.74
7.3.20.0040.00816.31
7.3.10.0070.00816.58
7.3.00.0020.01116.47
7.2.330.0090.00916.58
7.2.320.0150.00616.62
7.2.310.0060.01516.30
7.2.300.0060.01016.58
7.2.290.0070.01016.43
7.2.240.0080.00014.84
7.2.230.0030.01015.13
7.2.220.0070.00714.77
7.2.210.0000.01114.96
7.2.200.0050.00515.03
7.2.190.0070.00715.04
7.2.180.0120.00414.95
7.2.170.0000.01414.88
7.2.160.0040.00814.88
7.2.150.0030.00916.74
7.2.140.0060.00916.92
7.2.130.0080.00616.63
7.2.120.0060.00816.76
7.2.110.0090.00716.74
7.2.100.0080.00616.82
7.2.90.0070.00816.84
7.2.80.0050.00716.83
7.2.70.0120.00216.77
7.2.60.0080.00816.80
7.2.50.0040.01316.74
7.2.40.0030.00916.76
7.2.30.0020.01316.84
7.2.20.0060.01116.90
7.2.10.0070.00716.77
7.2.00.0080.00517.43
7.1.330.0070.00715.36
7.1.320.0110.00415.79
7.1.310.0000.01215.44
7.1.300.0000.00915.82
7.1.290.0040.00415.50
7.1.280.0060.01015.59
7.1.270.0130.00015.66
7.1.260.0030.00515.46
7.1.250.0040.00515.59
7.1.200.0070.00715.65
7.1.100.0000.01217.98
7.1.70.0050.00216.94
7.1.60.0060.01819.40
7.1.50.0120.00916.97
7.1.00.0000.07722.54
7.0.200.0000.00816.42
7.0.140.0030.07322.10
7.0.60.0070.08019.94
7.0.50.0100.08017.79
7.0.40.0000.04720.02
7.0.30.0370.04720.18
7.0.20.0230.08720.11
7.0.10.0070.08719.99
7.0.00.0200.07320.20
5.6.280.0000.07721.03
5.6.210.0030.08720.50
5.6.200.0070.08318.16
5.6.190.0230.03020.61
5.6.180.0430.05720.41
5.6.170.0370.04320.38
5.6.160.0070.08720.52
5.6.150.0070.08018.11
5.6.140.0070.07018.12
5.6.130.0070.07718.18
5.6.120.0130.07721.05
5.6.110.0200.07320.98
5.6.100.0030.09320.98
5.6.90.0030.06020.99
5.6.80.0000.04020.52
5.5.350.4030.04720.44
5.5.340.0030.06717.98
5.5.330.0070.08720.25
5.5.320.0430.07020.31
5.5.310.0300.07320.34
5.5.300.0000.07017.89
5.5.290.0100.07718.02
5.5.280.0070.04320.88
5.5.270.0130.07720.86
5.5.260.0030.09020.85
5.5.250.0030.08020.58
5.5.240.0200.08320.22
5.4.450.0370.04319.39
5.4.440.0500.04019.39
5.4.430.0100.05319.24
5.4.420.0370.04019.41
5.4.410.0270.04019.11
5.4.400.0300.04319.25
5.4.390.0230.04719.24
5.4.380.0370.06318.53
5.4.370.0270.05718.48
5.4.360.0400.03718.61
5.4.350.0370.04318.56
5.4.340.0200.06018.50
5.4.320.0040.03912.45
5.4.310.0090.04612.45
5.4.300.0020.04312.45
5.4.290.0100.03612.45
5.4.280.0060.03412.35
5.4.270.0050.03712.35
5.4.260.0070.03512.34
5.4.250.0040.03812.35
5.4.240.0050.03512.34
5.4.230.0070.03512.34
5.4.220.0040.03712.34
5.4.210.0030.03712.34
5.4.200.0050.03812.34
5.4.190.0050.03612.33
5.4.180.0020.03912.33
5.4.170.0070.03512.35
5.4.160.0030.03812.34
5.4.150.0090.03212.34
5.4.140.0080.03512.02
5.4.130.0070.03312.01
5.4.120.0040.03611.97
5.4.110.0050.03411.96
5.4.100.0010.03911.96
5.4.90.0050.03611.96
5.4.80.0060.05111.96
5.4.70.0060.03811.96
5.4.60.0050.03611.96
5.4.50.0040.03611.96
5.4.40.0060.03411.95
5.4.30.0050.03611.95
5.4.20.0060.03411.95
5.4.10.0050.03511.95
5.4.00.0070.04711.44
5.3.290.0080.04412.80
5.3.280.0060.03912.71
5.3.270.0070.03712.73
5.3.260.0060.03812.72
5.3.250.0030.03912.72
5.3.240.0080.03912.71
5.3.230.0110.03312.71
5.3.220.0030.04012.68
5.3.210.0060.04312.68
5.3.200.0060.03412.68
5.3.190.0030.03812.68
5.3.180.0100.05012.68
5.3.170.0050.03612.67
5.3.160.0070.03312.67
5.3.150.0030.03812.67
5.3.140.0060.03512.66
5.3.130.0060.03712.66
5.3.120.0090.03612.66
5.3.110.0080.03512.66
5.3.100.0050.03712.12
5.3.90.0060.05312.08
5.3.80.0050.03612.07
5.3.70.0070.03412.07
5.3.60.0050.03512.06
5.3.50.0050.03612.00
5.3.40.0060.03512.00
5.3.30.0060.03311.94
5.3.20.0060.03511.72
5.3.10.0040.03511.69
5.3.00.0020.03911.68
5.2.170.0020.0329.18
5.2.160.0030.0309.17
5.2.150.0060.0289.17
5.2.140.0030.0329.17
5.2.130.0050.0289.13
5.2.120.0060.0269.13
5.2.110.0040.0309.14
5.2.100.0050.0289.13
5.2.90.0050.0289.14
5.2.80.0050.0299.13
5.2.70.0030.0319.13
5.2.60.0060.0309.08
5.2.50.0030.0319.05
5.2.40.0020.0319.03
5.2.30.0030.0409.00
5.2.20.0060.0379.00
5.2.10.0060.0288.92
5.2.00.0060.0278.78
5.1.60.0030.0248.05
5.1.50.0020.0268.05
5.1.40.0000.0368.04
5.1.30.0090.0358.39
5.1.20.0050.0378.41
5.1.10.0060.0348.13
5.1.00.0070.0348.13
5.0.50.0070.0256.61
5.0.40.0030.0196.47
5.0.30.0030.0316.28
5.0.20.0030.0196.25
5.0.10.0020.0206.23
5.0.00.0030.0386.23
4.4.90.0020.0154.78
4.4.80.0020.0154.75
4.4.70.0020.0234.76
4.4.60.0040.0204.75
4.4.50.0030.0204.77
4.4.40.0040.0234.70
4.4.30.0020.0154.76
4.4.20.0020.0154.84
4.4.10.0030.0144.85
4.4.00.0020.0254.76
4.3.110.0030.0144.67
4.3.100.0020.0154.66
4.3.90.0050.0124.63
4.3.80.0030.0244.59
4.3.70.0060.0164.63
4.3.60.0010.0174.63
4.3.50.0030.0164.63
4.3.40.0030.0234.54
4.3.30.0020.0163.28
4.3.20.0050.0183.25
4.3.10.0020.0163.22
4.3.00.0100.01315.98

preferences:
45.51 ms | 400 KiB | 5 Q