3v4l.org

run code in 300+ PHP versions simultaneously
<?php  if (!emptyempty($_SERVER['HTTPS']))   {    echo 'https is enabled';  }  else  {  echo 'http is enabled';  }  ?>  - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.iFkvH7kT.dpuf

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.0100.00718.26
8.3.50.0060.01319.77
8.3.40.0140.00018.71
8.3.30.0030.01418.83
8.3.20.0040.00420.07
8.3.10.0030.00521.60
8.3.00.0070.00717.68
8.2.180.0160.00616.50
8.2.170.0140.00418.71
8.2.160.0130.00022.96
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00320.95
8.2.110.0100.00021.93
8.2.100.0110.00017.72
8.2.90.0040.00419.23
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0000.00817.80
8.2.50.0080.00318.07
8.2.40.0050.00218.09
8.2.30.0040.00417.88
8.2.20.0060.00317.46
8.2.10.0000.00717.90
8.2.00.0000.00717.64
8.1.270.0030.00523.61
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.84
8.1.230.0070.00419.04
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.01017.23
8.1.190.0000.00816.98
8.1.180.0000.00818.10
8.1.170.0030.00518.71
8.1.160.0000.00721.97
8.1.150.0070.00318.63
8.1.140.0030.00517.30
8.1.130.0030.00317.66
8.1.120.0040.00417.33
8.1.110.0030.00517.31
8.1.100.0000.00717.34
8.1.90.0030.00317.33
8.1.80.0030.00417.30
8.1.70.0030.00317.28
8.1.60.0000.00817.45
8.1.50.0040.00417.42
8.1.40.0020.00517.36
8.1.30.0000.00817.57
8.1.20.0070.00017.48
8.1.10.0040.00417.46
8.1.00.0070.00017.36
8.0.300.0090.00018.77
8.0.290.0040.00416.63
8.0.280.0070.00018.36
8.0.270.0000.00717.19
8.0.260.0000.00617.17
8.0.250.0030.00316.67
8.0.240.0040.00416.80
8.0.230.0030.00316.80
8.0.220.0030.00316.82
8.0.210.0080.00016.72
8.0.200.0000.00616.87
8.0.190.0000.00816.68
8.0.180.0080.00016.73
8.0.170.0030.00616.75
8.0.160.0060.00316.70
8.0.150.0030.00316.74
8.0.140.0070.00016.67
8.0.130.0000.00513.35
8.0.120.0050.00316.61
8.0.110.0070.00016.76
8.0.100.0080.00016.79
8.0.90.0030.00316.76
8.0.80.0100.00616.75
8.0.70.0000.00716.63
8.0.60.0040.00416.81
8.0.50.0040.00416.77
8.0.30.0180.00817.17
8.0.20.0160.00517.40
8.0.10.0030.00316.85
8.0.00.0120.00716.75
7.4.330.0020.00215.15
7.4.320.0000.00616.41
7.4.300.0030.00316.35
7.4.290.0070.00016.38
7.4.280.0060.00616.50
7.4.270.0000.00816.46
7.4.260.0120.00016.44
7.4.250.0040.00416.32
7.4.240.0020.00616.50
7.4.230.0030.00316.29
7.4.220.0100.00716.30
7.4.210.0000.01316.52
7.4.200.0000.00716.39
7.4.160.0040.01216.37
7.4.150.0090.00917.40
7.4.140.0130.00517.86
7.4.130.0100.00616.34
7.4.120.0100.00816.31
7.4.110.0070.01016.23
7.4.100.0110.00616.28
7.4.90.0130.00316.47
7.4.80.0170.00719.39
7.4.70.0030.01316.41
7.4.60.0130.00316.33
7.4.50.0000.00816.39
7.4.40.0090.01216.41
7.4.30.0100.01016.29
7.3.330.0030.00312.96
7.3.320.0060.00013.02
7.3.310.0000.00816.20
7.3.300.0000.00615.96
7.3.290.0060.01216.19
7.3.280.0070.01016.18
7.3.270.0090.00917.40
7.3.260.0030.01716.23
7.3.250.0050.01616.35
7.3.240.0040.01416.45
7.3.230.0060.00916.39
7.3.210.0130.00316.17
7.3.200.0100.01019.39
7.3.190.0060.01216.19
7.3.180.0110.01116.34
7.3.170.0130.00316.32
7.3.160.0090.00616.63
7.2.330.0080.00816.60
7.2.320.0070.01016.43
7.2.310.0130.00316.49
7.2.300.0030.01316.45
7.2.290.0060.00916.60
5.4.320.0060.04312.45
5.4.310.0040.04212.45
5.4.300.0050.03712.45
5.4.290.0060.04012.45
5.4.280.0030.03912.35
5.4.270.0060.03912.35
5.4.260.0080.03712.34
5.4.250.0070.03612.35
5.4.240.0070.03912.35
5.4.230.0070.04012.34
5.4.220.0110.04912.34
5.4.210.0050.03812.34
5.4.200.0090.03712.34
5.4.190.0080.03812.34
5.4.180.0060.03712.34
5.4.170.0040.03812.34
5.4.160.0070.03512.34
5.4.150.0080.03512.34
5.4.140.0050.03812.02
5.4.130.0070.03512.01
5.4.120.0050.03611.96
5.4.110.0050.04111.96
5.4.100.0070.03511.96
5.4.90.0070.03711.96
5.4.80.0080.03511.96
5.4.70.0090.03311.96
5.4.60.0050.03711.96
5.4.50.0060.03511.96
5.4.40.0090.03411.95
5.4.30.0090.03411.95
5.4.20.0050.04411.95
5.4.10.0090.03311.95
5.4.00.0080.03911.43
5.3.290.0090.03912.80
5.3.280.0100.03712.70
5.3.270.0070.04212.72
5.3.260.0060.03812.72
5.3.250.0100.04212.72
5.3.240.0080.03912.72
5.3.230.0070.03812.71
5.3.220.0040.04012.68
5.3.210.0040.04212.68
5.3.200.0050.03912.68
5.3.190.0080.04212.68
5.3.180.0040.05012.68
5.3.170.0090.04212.67
5.3.160.0060.03812.67
5.3.150.0130.04512.67
5.3.140.0080.04012.66
5.3.130.0040.05512.66
5.3.120.0070.04212.66
5.3.110.0100.03512.66
5.3.100.0080.04412.12
5.3.90.0110.03812.09
5.3.80.0080.03912.07
5.3.70.0110.03612.07
5.3.60.0100.04012.06
5.3.50.0080.03512.00
5.3.40.0090.04712.00
5.3.30.0070.04111.94
5.3.20.0090.04411.71
5.3.10.0060.04111.69
5.3.00.0100.04411.67

preferences:
52.65 ms | 400 KiB | 5 Q