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") ; asort($ceu) ; foreach($ceu as $mulk => $sehr) { echo "The capital of $mulk is $sehr <br />" ; } ?>

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.0120.00318.55
8.3.30.0110.00419.09
8.3.20.0040.00420.29
8.3.10.0060.00323.53
8.3.00.0060.00617.25
8.2.170.0080.00822.96
8.2.160.0070.00720.30
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00722.25
8.2.110.0060.00322.00
8.2.100.0040.00818.16
8.2.90.0040.00419.22
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0050.00317.93
8.2.50.0080.00018.07
8.2.40.0080.00020.03
8.2.30.0030.00618.10
8.2.20.0080.00017.61
8.2.10.0020.00518.04
8.2.00.0000.00817.63
8.1.270.0000.00723.92
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00023.83
8.1.230.0100.00019.20
8.1.220.0000.00817.77
8.1.210.0030.00618.77
8.1.200.0060.00317.25
8.1.190.0060.00317.35
8.1.180.0000.01018.10
8.1.170.0090.00018.39
8.1.160.0060.00321.99
8.1.150.0050.00318.59
8.1.140.0040.00417.45
8.1.130.0030.00317.82
8.1.120.0050.00317.34
8.1.110.0040.00417.33
8.1.100.0020.00517.35
8.1.90.0070.00017.35
8.1.80.0050.00217.48
8.1.70.0030.00317.45
8.1.60.0040.00417.58
8.1.50.0040.00417.50
8.1.40.0040.00417.55
8.1.30.0040.00417.56
8.1.20.0050.00317.63
8.1.10.0000.00717.45
8.1.00.0000.00717.34
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0040.00418.52
8.0.270.0030.00317.24
8.0.260.0080.00017.26
8.0.250.0050.00216.84
8.0.240.0040.00417.00
8.0.230.0070.00016.91
8.0.220.0030.00316.80
8.0.210.0070.00016.78
8.0.200.0000.00616.88
8.0.190.0040.00417.01
8.0.180.0040.00416.80
8.0.170.0030.00516.97
8.0.160.0000.01016.84
8.0.150.0040.00416.80
8.0.140.0000.00916.89
8.0.130.0000.00613.36
8.0.120.0080.00016.88
8.0.110.0000.00716.89
8.0.100.0070.00016.95
8.0.90.0070.00016.75
8.0.80.0160.00616.95
8.0.70.0050.00216.96
8.0.60.0000.00816.76
8.0.50.0040.00416.84
8.0.30.0080.01017.10
8.0.20.0050.01317.40
8.0.10.0070.00016.84
8.0.00.0120.00616.69
7.4.330.0050.00015.20
7.4.320.0000.00616.58
7.4.300.0000.00716.59
7.4.290.0070.00016.58
7.4.280.0070.00016.64
7.4.270.0000.00716.53
7.4.260.0000.00716.42
7.4.250.0040.00416.46
7.4.240.0050.00216.55
7.4.230.0000.00716.49
7.4.220.0070.01116.49
7.4.210.0070.01016.54
7.4.200.0000.00716.48
7.4.190.0050.00316.51
7.4.160.0100.00716.64
7.4.150.0090.00917.40
7.4.140.0060.01117.86
7.4.130.0120.00916.47
7.4.120.0130.00416.39
7.4.110.0070.01116.42
7.4.100.0170.00716.53
7.4.90.0070.01016.50
7.4.80.0160.00619.39
7.4.70.0130.01016.32
7.4.60.0100.00616.29
7.4.50.0020.00216.66
7.4.40.0100.00616.44
7.4.30.0030.01416.56
7.4.10.0030.01415.04
7.4.00.0070.01115.01
7.3.330.0050.00013.03
7.3.320.0050.00013.06
7.3.310.0030.00616.27
7.3.300.0040.00416.31
7.3.290.0090.00616.43
7.3.280.0080.00816.36
7.3.270.0080.00817.40
7.3.260.0070.01716.54
7.3.250.0070.01316.27
7.3.240.0080.00816.64
7.3.230.0100.00716.60
7.3.210.0090.00616.48
7.3.200.0080.01119.39
7.3.190.0120.00616.53
7.3.180.0210.00416.62
7.3.170.0120.00416.41
7.3.160.0030.01316.52
7.3.130.0070.01314.76
7.3.120.0060.01014.79
7.3.110.0060.01314.89
7.3.100.0070.00714.80
7.3.90.0000.01314.76
7.3.80.0080.00814.97
7.3.70.0100.00614.99
7.3.60.0070.00714.65
7.3.50.0060.00914.93
7.3.40.0000.01314.75
7.3.30.0150.00014.83
7.3.20.0030.01016.40
7.3.10.0070.00716.88
7.3.00.0070.00716.42
7.2.330.0100.00916.36
7.2.320.0070.01116.43
7.2.310.0100.00716.65
7.2.300.0090.00916.56
7.2.290.0180.00616.34
7.2.260.0100.01014.90
7.2.250.0070.01315.20
7.2.240.0090.00614.97
7.2.230.0080.00614.84
7.2.220.0000.01315.20
7.2.210.0140.00014.96
7.2.200.0100.01015.25
7.2.190.0060.00314.94
7.2.180.0000.01214.96
7.2.170.0030.01014.78
7.2.160.0000.01014.82
7.2.150.0040.01116.84
7.2.140.0070.00717.12
7.2.130.0030.01316.91
7.2.120.0030.01016.96
7.2.110.0000.01316.83
7.2.100.0100.00616.86
7.2.90.0040.00816.50
7.2.80.0030.00617.04
7.2.70.0040.01117.04
7.2.60.0090.00316.95
7.2.50.0030.01016.80
7.2.40.0090.00317.04
7.2.30.0090.00616.99
7.2.20.0000.01416.94
7.2.10.0030.00916.98
7.2.00.0040.01118.16
7.1.330.0110.00315.69
7.1.320.0060.00315.52
7.1.310.0080.00515.50
7.1.300.0060.00615.83
7.1.290.0090.00015.76
7.1.280.0060.00715.86
7.1.270.0030.00715.77
7.1.260.0030.00715.78
7.1.250.0090.00915.83
7.1.240.0090.00315.71
7.1.230.0160.00315.57
7.1.220.0120.00315.91
7.1.210.0110.00015.79
7.1.200.0090.00615.80
7.1.190.0030.01015.86
7.1.180.0100.00316.00
7.1.170.0040.00815.93
7.1.160.0070.00415.71
7.1.150.0090.00615.85
7.1.140.0000.01115.91
7.1.130.0050.00515.77
7.1.120.0080.00415.75
7.1.110.0080.00415.96
7.1.100.0030.00817.08
7.1.90.0000.01315.58
7.1.80.0120.00615.57
7.1.70.0050.00816.38
7.1.60.0060.01117.58
7.1.50.0030.01516.22
7.1.40.0060.00615.99
7.1.30.0000.01015.89
7.1.20.0070.01015.90
7.1.10.0000.01015.71
7.1.00.0020.04419.13
7.0.330.0090.00615.33
7.0.320.0140.00315.02
7.0.310.0090.00315.41
7.0.300.0030.00915.23
7.0.290.0090.00915.50
7.0.280.0070.00715.39
7.0.270.0100.00315.48
7.0.260.0040.00815.20
7.0.250.0060.00615.48
7.0.240.0040.00415.55
7.0.230.0000.01215.38
7.0.220.0030.01415.50
7.0.210.0030.01015.39
7.0.200.0040.00616.10
7.0.190.0040.01115.45
7.0.180.0070.00715.16
7.0.170.0070.01015.53
7.0.160.0100.00315.61
7.0.150.0000.01115.35
7.0.140.0000.03818.59
7.0.130.0040.00415.52
7.0.120.0040.00815.41
7.0.110.0000.00915.34
7.0.100.0030.00615.30
7.0.90.0070.00715.25
7.0.80.0080.00315.54
7.0.70.0100.00615.17
7.0.60.0060.04117.51
7.0.50.0080.04016.62
7.0.40.0000.04116.73
7.0.30.0180.04316.73
7.0.20.0150.02816.70
7.0.10.0030.04216.63
7.0.00.0030.02716.73
5.6.400.0000.01013.98
5.6.390.0100.01014.65
5.6.380.0090.00914.15
5.6.370.0070.01014.32
5.6.360.0070.01014.40
5.6.350.0070.00714.37
5.6.340.0070.00714.59
5.6.330.0160.00014.41
5.6.320.0040.00714.32
5.6.310.0030.01014.11
5.6.300.0030.01514.11
5.6.290.0040.01114.30
5.6.280.0120.03217.70
5.6.270.0030.01014.44
5.6.260.0060.01014.17
5.6.250.0060.00614.32
5.6.240.0030.00614.11
5.6.230.0140.00814.41
5.6.220.0030.01414.27
5.6.210.0110.03317.45
5.6.200.0050.03416.13
5.6.190.0060.02517.39
5.6.180.0170.03517.59
5.6.170.0150.01817.22
5.6.160.0110.04317.34
5.6.150.0110.03816.31
5.6.140.0080.04116.12
5.6.130.0110.04116.09
5.6.120.0030.04317.47
5.6.110.0030.03817.51
5.6.100.0060.04817.46
5.6.90.0080.03517.54
5.6.80.0050.04617.31
5.6.70.0030.00714.16
5.6.60.0000.01413.97
5.6.50.0030.01014.30
5.6.40.0070.01014.02
5.6.30.0110.00014.11
5.6.20.0090.00614.38
5.6.10.0060.01014.22
5.6.00.0000.01314.14
5.5.380.0000.01413.81
5.5.370.0060.00614.24
5.5.360.0120.00314.25
5.5.350.0160.02517.08
5.5.340.0080.03016.09
5.5.330.0070.02817.19
5.5.320.0100.02517.28
5.5.310.0170.03517.08
5.5.300.0070.02015.96
5.5.290.0040.02616.12
5.5.280.0020.04517.36
5.5.270.0050.03417.46
5.5.260.0060.03317.51
5.5.250.0090.02017.33
5.5.240.0030.04617.11
5.5.230.0100.00614.02
5.5.220.0100.00314.18
5.5.210.0130.00314.08
5.5.200.0040.00814.07
5.5.190.0060.00613.88
5.5.180.0070.00713.61
5.5.170.0110.00413.95
5.5.160.0080.00414.03
5.5.150.0110.00713.70
5.5.140.0100.00713.88
5.5.130.0060.00813.85
5.5.120.0000.01414.14
5.5.110.0030.00714.13
5.5.100.0060.01213.89
5.5.90.0080.00613.95
5.5.80.0090.00014.05
5.5.70.0110.00713.84
5.5.60.0040.01113.59
5.5.50.0070.00713.80
5.5.40.0090.00613.94
5.5.30.0000.01413.82
5.5.20.0090.00613.61
5.5.10.0000.01013.81
5.5.00.0070.00714.13
5.4.450.0150.03715.95
5.4.440.0150.03415.98
5.4.430.0080.03016.01
5.4.420.0130.02615.77
5.4.410.0110.03215.96
5.4.400.0150.02715.82
5.4.390.0130.02615.60
5.4.380.0050.03115.43
5.4.370.0110.02615.58
5.4.360.0050.03115.61
5.4.350.0080.03115.56
5.4.340.0070.03315.49
5.4.330.0030.00312.42
5.4.320.0050.02612.44
5.4.310.0070.02212.44
5.4.300.0070.02012.44
5.4.290.0080.03812.44
5.4.280.0130.03812.38
5.4.270.0050.02712.39
5.4.260.0080.02912.38
5.4.250.0190.05612.39
5.4.240.0100.03812.38
5.4.230.0070.04312.38
5.4.220.0050.03812.38
5.4.210.0110.04312.38
5.4.200.0040.02912.38
5.4.190.0070.02612.38
5.4.180.0070.02512.38
5.4.170.0090.02512.39
5.4.160.0110.02812.38
5.4.150.0050.03212.38
5.4.140.0130.03812.22
5.4.130.0050.03712.22
5.4.120.0120.04712.20
5.4.110.0090.02812.20
5.4.100.0080.04212.19
5.4.90.0090.03912.20
5.4.80.0070.02912.19
5.4.70.0110.03812.19
5.4.60.0030.03612.19
5.4.50.0080.05112.19
5.4.40.0070.03712.19
5.4.30.0070.03012.19
5.4.20.0070.03512.19
5.4.10.0090.04412.19
5.4.00.0080.04411.93
5.3.290.0080.02712.61
5.3.280.0100.03112.56
5.3.270.0100.03312.57
5.3.260.0180.05112.57
5.3.250.0040.03312.57
5.3.240.0100.03212.57
5.3.230.0070.02912.56
5.3.220.0100.03112.55
5.3.210.0040.03812.55
5.3.200.0070.03312.55
5.3.190.0060.03612.55
5.3.180.0180.04712.54
5.3.170.0060.03112.54
5.3.160.0080.03212.54
5.3.150.0070.03612.54
5.3.140.0230.04512.54
5.3.130.0100.04712.54
5.3.120.0130.04512.54
5.3.110.0130.04412.54
5.3.100.0220.05012.27
5.3.90.0090.05512.25
5.3.80.0140.03212.25
5.3.70.0150.04412.25
5.3.60.0130.04512.24
5.3.50.0120.04112.21
5.3.40.0120.04012.21
5.3.30.0080.03312.18
5.3.20.0210.05412.07
5.3.10.0190.04412.05
5.3.00.0120.03012.05
5.2.170.0020.0429.18
5.2.160.0070.0489.18
5.2.150.0130.0539.18
5.2.140.0210.0609.18
5.2.130.0170.0599.14
5.2.120.0080.0319.14
5.2.110.0280.0949.15
5.2.100.0100.0709.14
5.2.90.0070.0519.14
5.2.80.0070.0399.14
5.2.70.0020.0409.14
5.2.60.0060.0369.09
5.2.50.0080.0329.06
5.2.40.0220.0719.04
5.2.30.0100.0379.02
5.2.20.0070.0299.00
5.2.10.0070.0308.93
5.2.00.0060.0318.79
5.1.60.0090.0238.07
5.1.50.0170.0638.07
5.1.40.0100.0428.05
5.1.30.0120.0328.40
5.1.20.0070.0378.43
5.1.10.0080.0338.15
5.1.00.0080.0418.15
5.0.50.0200.0746.63
5.0.40.0270.0586.48
5.0.30.0130.1076.30
5.0.20.0090.0436.27
5.0.10.0060.0186.25
5.0.00.0140.0646.25
4.4.90.0110.0174.78
4.4.80.0040.0434.76
4.4.70.0080.0644.75
4.4.60.0030.0184.76
4.4.50.0130.0374.77
4.4.40.0050.0374.71
4.4.30.0150.0374.76
4.4.20.0100.0194.85
4.4.10.0050.0164.85
4.4.00.0040.0264.76
4.3.110.0070.0214.67
4.3.100.0090.0224.66
4.3.90.0080.0604.63
4.3.80.0140.0724.59
4.3.70.0120.0434.63
4.3.60.0080.0224.63
4.3.50.0040.0344.63
4.3.40.0070.0304.54
4.3.30.0040.0273.30
4.3.20.0020.0203.28
4.3.10.0020.0183.23
4.3.00.0070.0177.33

preferences:
40.13 ms | 400 KiB | 5 Q