3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ceu = array( "Italy"=>"Rome", "Luxembourg"=>"Luxembourg", "Belgium"=> "Brussels", "Denmark"=>"Copenhagen", "Finland"=>"Helsinki", "France" => "Paris", "Slovakia"=>"Bratislava", "Slovenia"=>"Ljubljana", "Germany" => "Berlin", "Greece" => "Athens", "Ireland"=>"Dublin", "Netherlands"=>"Amsterdam", "Portugal"=>"Lisbon", "Spain"=>"Madrid", "Sweden"=>"Stockholm", "United Kingdom"=>"London", "Cyprus"=>"Nicosia", "Lithuania"=>"Vilnius", "Czech Republic"=>"Prague", "Estonia"=>"Tallin", "Hungary"=>"Budapest", "Latvia"=>"Riga", "Malta"=>"Valetta", "Austria" => "Vienna", "Poland"=>"Warsaw") ; foreach(array_keys($ceu) as $c) { echo $c; }

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.01018.84
8.3.30.0110.00418.97
8.3.20.0000.00720.35
8.3.10.0070.00023.65
8.3.00.0090.00019.38
8.2.170.0070.00722.96
8.2.160.0110.00420.52
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0020.00526.16
8.2.120.0100.00019.42
8.2.110.0070.00322.08
8.2.100.0080.00318.03
8.2.90.0040.00419.23
8.2.80.0030.00617.97
8.2.70.0030.00517.63
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0030.00618.16
8.2.30.0070.00018.06
8.2.20.0040.00417.77
8.2.10.0000.00718.13
8.2.00.0000.00717.58
8.1.270.0030.00523.73
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0000.00922.03
8.1.230.0060.00619.16
8.1.220.0070.00017.74
8.1.210.0030.00618.77
8.1.200.0070.00617.25
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0090.00418.54
8.1.160.0030.00321.89
8.1.150.0040.00418.84
8.1.140.0040.00417.46
8.1.130.0000.00717.88
8.1.120.0000.00717.31
8.1.110.0040.00417.51
8.1.100.0030.00517.46
8.1.90.0000.00717.46
8.1.80.0040.00417.32
8.1.70.0040.00417.31
8.1.60.0060.00317.44
8.1.50.0040.00417.55
8.1.40.0040.00417.52
8.1.30.0040.00417.60
8.1.20.0000.00817.73
8.1.10.0000.00717.51
8.1.00.0040.00417.32
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0000.00718.45
8.0.270.0030.00317.27
8.0.260.0000.00717.27
8.0.250.0070.00016.99
8.0.240.0050.00216.86
8.0.230.0000.00716.87
8.0.220.0030.00316.87
8.0.210.0050.00316.80
8.0.200.0030.00316.85
8.0.190.0000.00816.92
8.0.180.0070.00016.91
8.0.170.0000.00816.82
8.0.160.0000.00716.89
8.0.150.0000.00716.73
8.0.140.0030.00316.67
8.0.130.0060.00013.42
8.0.120.0030.00516.82
8.0.110.0050.00216.80
8.0.100.0000.00716.77
8.0.90.0030.00616.92
8.0.80.0130.00316.84
8.0.70.0040.00416.85
8.0.60.0000.00716.79
8.0.50.0000.00716.75
8.0.30.0050.01716.93
8.0.20.0140.00617.40
8.0.10.0050.00316.99
8.0.00.0120.00916.93
7.4.330.0000.00615.09
7.4.320.0030.00316.61
7.4.300.0060.00016.61
7.4.290.0050.00216.56
7.4.280.0080.00016.49
7.4.270.0000.00816.53
7.4.260.0030.00316.39
7.4.250.0000.00716.57
7.4.240.0040.00316.55
7.4.230.0040.00416.71
7.4.220.0150.00316.68
7.4.210.0100.00716.68
7.4.200.0030.00316.49
7.4.160.0100.00616.50
7.4.150.0100.00717.40
7.4.140.0100.01117.86
7.4.130.0100.00716.59
7.4.120.0070.00916.48
7.4.110.0060.00916.42
7.4.100.0140.00516.34
7.4.90.0030.01316.28
7.4.80.0120.00919.39
7.4.70.0120.00616.56
7.4.60.0160.00816.50
7.4.50.0000.00816.34
7.4.40.0100.00616.58
7.4.30.0080.00816.47
7.4.00.0060.00915.15
7.3.330.0060.00013.02
7.3.320.0000.00512.98
7.3.310.0000.00716.32
7.3.300.0030.00316.25
7.3.290.0070.00716.26
7.3.280.0090.00816.29
7.3.270.0130.01017.40
7.3.260.0090.01516.54
7.3.250.0070.01116.51
7.3.240.0120.00416.44
7.3.230.0120.00616.46
7.3.210.0000.01816.51
7.3.200.0110.01219.39
7.3.190.0120.00416.66
7.3.180.0120.00416.50
7.3.170.0120.00416.33
7.3.160.0130.00616.31
7.2.330.0060.01516.43
7.2.320.0060.00916.51
7.2.310.0140.00316.51
7.2.300.0080.00816.48
7.2.290.0070.01016.53
7.2.00.0060.00919.48
7.1.100.0000.01418.28
7.1.70.0030.00917.29
7.1.60.0060.01219.46
7.1.50.0000.02116.98
7.1.00.0000.08022.40
7.0.200.0130.00416.52
7.0.140.0070.07021.98
7.0.60.0030.06721.70
7.0.50.0130.03017.79
7.0.40.0000.04720.04
7.0.30.0430.06720.04
7.0.20.0370.06719.96
7.0.10.0070.07720.16
7.0.00.0030.07020.08
5.6.280.0030.07321.12
5.6.210.0030.05320.57
5.6.200.0070.08018.09
5.6.190.0130.08720.33
5.6.180.0400.07020.39
5.6.170.0370.06720.51
5.6.160.0200.07320.45
5.6.150.0070.05318.18
5.6.140.0030.04718.11
5.6.130.0130.05718.15
5.6.120.0030.05721.01
5.6.110.0130.08320.97
5.6.100.0170.05721.00
5.6.90.0070.07320.99
5.6.80.0100.03320.38
5.5.350.0070.07720.37
5.5.340.0070.05017.92
5.5.330.0170.09020.57
5.5.320.0170.04020.31
5.5.310.0300.04320.30
5.5.300.0070.05318.03
5.5.290.0070.08718.00
5.5.280.0030.06720.89
5.5.270.0130.08020.88
5.5.260.0100.06320.93
5.5.250.0130.07320.66
5.5.240.0100.06020.22
5.4.450.0170.04719.55
5.4.440.0200.05019.41
5.4.430.0230.04019.40
5.4.420.0230.03719.56
5.4.410.0230.02719.36
5.4.400.0230.03318.89
5.4.390.0230.04019.10
5.4.380.0270.07018.57
5.4.370.0270.05318.73
5.4.360.0230.05318.49
5.4.350.0170.06318.50
5.4.340.0330.05718.66
5.4.320.0040.03712.46
5.4.310.0020.04112.46
5.4.300.0030.03912.46
5.4.290.0050.03812.46
5.4.280.0080.03312.36
5.4.270.0030.04012.36
5.4.260.0070.03512.36
5.4.250.0040.03912.36
5.4.240.0050.03612.36
5.4.230.0080.03512.35
5.4.220.0040.03612.35
5.4.210.0060.03312.35
5.4.200.0070.03512.35
5.4.190.0080.03312.34
5.4.180.0080.03412.35
5.4.170.0070.03512.36
5.4.160.0050.03712.36
5.4.150.0070.03312.35
5.4.140.0050.03712.04
5.4.130.0080.03512.02
5.4.120.0050.03611.98
5.4.110.0050.03511.97
5.4.100.0060.03411.97
5.4.90.0070.03511.98
5.4.80.0050.04311.97
5.4.70.0040.03611.97
5.4.60.0110.02911.97
5.4.50.0100.03211.97
5.4.40.0100.03411.96
5.4.30.0060.03811.96
5.4.20.0040.04111.96
5.4.10.0060.03211.96
5.4.00.0080.04111.45
5.3.290.0060.04412.80
5.3.280.0050.03812.71
5.3.270.0040.03912.72
5.3.260.0030.04612.72
5.3.250.0060.03612.72
5.3.240.0100.03712.72
5.3.230.0040.04112.71
5.3.220.0060.03612.68
5.3.210.0030.04012.68
5.3.200.0100.03112.68
5.3.190.0110.04012.68
5.3.180.0090.03612.67
5.3.170.0070.03912.67
5.3.160.0090.03412.68
5.3.150.0110.03312.67
5.3.140.0080.03412.66
5.3.130.0050.03812.66
5.3.120.0070.03612.66
5.3.110.0100.03912.66
5.3.100.0100.03612.12
5.3.90.0070.03512.08
5.3.80.0040.03712.07
5.3.70.0090.03212.07
5.3.60.0070.03512.06
5.3.50.0060.03612.00
5.3.40.0090.03312.00
5.3.30.0060.03411.95
5.3.20.0040.03611.73
5.3.10.0070.03211.70
5.3.00.0070.03511.68
5.2.170.0060.0349.18
5.2.160.0080.0259.18
5.2.150.0020.0339.19
5.2.140.0060.0309.18
5.2.130.0060.0279.14
5.2.120.0060.0279.14
5.2.110.0020.0329.15
5.2.100.0110.0299.14
5.2.90.0070.0319.14
5.2.80.0030.0319.14
5.2.70.0050.0309.14
5.2.60.0040.0309.09
5.2.50.0070.0349.07
5.2.40.0030.0309.05
5.2.30.0020.0329.02
5.2.20.0050.0289.00
5.2.10.0040.0338.93
5.2.00.0080.0328.79
5.1.60.0100.0228.07
5.1.50.0060.0278.07
5.1.40.0050.0248.05
5.1.30.0020.0288.40
5.1.20.0040.0278.42
5.1.10.0020.0318.14
5.1.00.0050.0278.15
5.0.50.0050.0216.63
5.0.40.0050.0186.48
5.0.30.0040.0306.30
5.0.20.0020.0206.27
5.0.10.0080.0156.25
5.0.00.0030.0306.24
4.4.90.0030.0164.77
4.4.80.0040.0204.75
4.4.70.0020.0164.75
4.4.60.0020.0184.75
4.4.50.0020.0224.77
4.4.40.0030.0304.71
4.4.30.0020.0164.76
4.4.20.0020.0224.84
4.4.10.0040.0194.85
4.4.00.0040.0274.76
4.3.110.0020.0214.66
4.3.100.0050.0164.66
4.3.90.0040.0164.64
4.3.80.0030.0274.59
4.3.70.0020.0154.63
4.3.60.0050.0184.63
4.3.50.0030.0194.63
4.3.40.0020.0244.53
4.3.30.0020.0243.29
4.3.20.0000.0223.27
4.3.10.0030.0143.23
4.3.00.0070.01318.41

preferences:
36.44 ms | 400 KiB | 5 Q