3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getCurrenciesNames() { return array_map( function ($currency) { return $currency['combname']; }, [ 0 => ['combname' => 'uds'], 1 => ['combname' => 'uds'], 2 => ['combname' => 'uds'], 3 => ['combname' => 'uds'], 4 => ['combname' => 'uds'], ] ); }

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.0170.00318.43
8.3.50.0100.01020.96
8.3.40.0090.00618.71
8.3.30.0100.00320.04
8.3.20.0070.00020.04
8.3.10.0040.00422.04
8.3.00.0040.00422.52
8.2.180.0100.01017.89
8.2.170.0140.00722.96
8.2.160.0120.00320.24
8.2.150.0050.00324.18
8.2.140.0000.00924.66
8.2.130.0130.00626.16
8.2.120.0030.00619.41
8.2.110.0070.00322.24
8.2.100.0060.00619.31
8.2.90.0050.00219.05
8.2.80.0040.00419.15
8.2.70.0060.00317.38
8.2.60.0040.00417.68
8.2.50.0060.00318.07
8.2.40.0070.00017.97
8.2.30.0040.00417.99
8.2.20.0030.00617.45
8.2.10.0040.00417.53
8.2.00.0040.00417.54
8.1.280.0060.00925.92
8.1.270.0080.00024.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00324.04
8.1.230.0070.00419.15
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.00
8.1.190.0040.00417.41
8.1.180.0040.00420.15
8.1.170.0080.00018.58
8.1.160.0000.00722.07
8.1.150.0050.00318.40
8.1.140.0040.00417.23
8.1.130.0060.00317.69
8.1.120.0000.00817.33
8.1.110.0040.00417.41
8.1.100.0070.00017.35
8.1.90.0000.00717.33
8.1.80.0040.00417.33
8.1.70.0030.00317.36
8.1.60.0000.00817.38
8.1.50.0040.00417.38
8.1.40.0000.00817.25
8.1.30.0060.00317.43
8.1.20.0040.00417.54
8.1.10.0040.00417.45
8.1.00.0000.00817.34
8.0.300.0040.00418.77
8.0.290.0000.00717.04
8.0.280.0030.00418.27
8.0.270.0000.00817.09
8.0.260.0030.00316.68
8.0.250.0000.00616.70
8.0.240.0040.00416.74
8.0.230.0030.00316.79
8.0.220.0060.00316.79
8.0.210.0040.00416.74
8.0.200.0060.00016.83
8.0.190.0040.00416.85
8.0.180.0070.00016.68
8.0.170.0070.00016.68
8.0.160.0040.00416.79
8.0.150.0000.00716.60
8.0.140.0070.00016.76
8.0.130.0050.00013.21
8.0.120.0050.00316.61
8.0.110.0040.00416.77
8.0.100.0030.00516.73
8.0.90.0040.00416.71
8.0.80.0040.01116.78
8.0.70.0040.00416.82
8.0.60.0050.00216.75
8.0.50.0000.00716.78
8.0.30.0080.01116.99
8.0.20.0110.00717.40
8.0.10.0050.00316.87
8.0.00.0150.01916.53
7.4.330.0000.00515.00
7.4.320.0030.00316.26
7.4.300.0060.00016.48
7.4.290.0070.00016.39
7.4.280.0080.00016.28
7.4.270.0030.00316.36
7.4.260.0000.00716.49
7.4.250.0070.00016.33
7.4.240.0040.00416.46
7.4.230.0030.00316.38
7.4.220.0110.00416.55
7.4.210.0070.00716.50
7.4.200.0000.00716.28
7.4.190.0030.00316.56
7.4.160.0110.00716.34
7.4.150.0050.01317.40
7.4.140.0100.00817.86
7.4.130.0090.00816.29
7.4.120.0080.01116.39
7.4.110.0100.00616.31
7.4.100.0140.00316.47
7.4.90.0130.00316.30
7.4.80.0100.00719.39
7.4.70.0070.01016.17
7.4.60.0060.01316.31
7.4.50.0040.00416.31
7.4.40.0030.01322.77
7.4.30.0060.01116.31
7.4.00.0030.00914.95
7.3.330.0030.00313.13
7.3.320.0000.00513.19
7.3.310.0060.00016.20
7.3.300.0000.00616.13
7.3.290.0070.00716.16
7.3.280.0070.01116.19
7.3.270.0070.01017.40
7.3.260.0130.00416.47
7.3.250.0110.00516.09
7.3.240.0080.00816.45
7.3.230.0060.01016.39
7.3.210.0070.01016.15
7.3.200.0030.01919.39
7.3.190.0140.00816.30
7.3.180.0030.01216.29
7.3.170.0150.00616.40
7.3.160.0070.01016.29
7.3.120.0100.00714.87
7.2.330.0150.00616.31
7.2.320.0090.00916.22
7.2.310.0100.00616.61
7.2.300.0000.01516.36
7.2.290.0070.01116.58
7.2.80.0090.00016.55
7.2.00.0070.01019.23
7.1.200.0030.00915.62
7.1.100.0040.00817.89
7.1.70.0000.00816.84
7.1.60.0200.00319.21
7.1.50.0060.01616.78
7.1.00.0030.06722.45
7.0.200.0400.00914.53
7.0.140.0030.07321.95
7.0.60.0030.04719.93
7.0.50.0000.05017.87
7.0.40.0000.04719.96
7.0.30.0300.04020.20
7.0.20.0270.06720.05
7.0.10.0030.04320.22
7.0.00.0000.09020.22
5.6.280.0000.07721.09
5.6.210.0170.05020.61
5.6.200.0100.07718.16
5.6.190.0100.08020.46
5.6.180.0430.06020.64
5.6.170.0330.07020.71
5.6.160.0070.05020.43
5.6.150.0070.05718.19
5.6.140.0030.04018.17
5.6.130.0070.04718.18
5.6.120.0100.08021.03
5.6.110.0100.08021.13
5.6.100.0070.08720.98
5.6.90.0130.05721.14
5.6.80.0030.03720.43
5.5.350.0100.04320.38
5.5.340.0070.08017.95
5.5.330.0130.08020.41
5.5.320.0400.07320.51
5.5.310.0230.05020.24
5.5.300.0030.04018.04
5.5.290.0030.04017.95
5.5.280.0100.04020.81
5.5.270.0100.07720.93
5.5.260.0100.08020.80
5.5.250.0070.04320.59
5.5.240.0070.07020.19
5.4.450.0700.05019.62
5.4.440.0630.05719.44
5.4.430.0100.05319.67
5.4.420.0070.06019.63
5.4.410.0100.05018.95
5.4.400.0200.04718.79
5.4.390.0130.04718.84
5.4.380.0130.05318.73
5.4.370.0200.05318.81
5.4.360.0100.05718.69
5.4.350.0070.04212.02
5.4.340.0080.04612.02
5.4.320.0070.03512.51
5.4.310.0050.04512.50
5.4.300.0090.04812.51
5.4.290.0090.03612.50
5.4.280.0060.03712.40
5.4.270.0040.03712.40
5.4.260.0060.03612.41
5.4.250.0100.05019.11
5.4.240.0100.06019.00
5.4.230.0100.06718.79
5.4.220.0070.06018.99
5.4.210.0070.05018.96
5.4.200.0100.06718.93
5.4.190.0070.05319.00
5.4.180.0170.04018.80
5.4.170.0070.07318.93
5.4.160.0130.06719.08
5.4.150.0230.05718.88
5.4.140.0070.05316.59
5.4.130.0130.06316.53
5.4.120.0070.04716.58
5.4.110.0130.04716.67
5.4.100.0170.04316.55
5.4.90.0170.04716.54
5.4.80.0000.05316.61
5.4.70.0030.06016.51
5.4.60.0070.05716.39
5.4.50.0070.05016.54
5.4.40.0070.04716.52
5.4.30.0130.04716.38
5.4.20.0000.05716.50
5.4.10.0030.05316.30
5.4.00.0070.05315.88
5.3.290.0070.04312.80
5.3.280.0130.04714.50
5.3.270.0070.07714.77
5.3.260.0070.05714.68
5.3.250.0130.06014.79
5.3.240.0070.05014.59
5.3.230.0130.06014.58
5.3.220.0170.05714.54
5.3.210.0000.06714.55
5.3.200.0030.06714.61
5.3.190.0000.06014.79
5.3.180.0130.04314.79
5.3.170.0070.05714.39
5.3.160.0000.05714.66
5.3.150.0170.04714.70
5.3.140.0130.04314.64
5.3.130.0100.05014.64
5.3.120.0170.05314.61
5.3.110.0070.06314.47
5.3.100.0070.05013.95
5.3.90.0030.05014.09
5.3.80.0070.05313.85
5.3.70.0130.04714.08
5.3.60.0070.04714.09
5.3.50.0030.05014.03
5.3.40.0130.06014.04
5.3.30.0030.05313.91
5.3.20.0070.05013.68
5.3.10.0170.05713.73
5.3.00.0030.06313.61
5.2.170.0070.04011.20
5.2.160.0030.04711.23
5.2.150.0070.04011.04
5.2.140.0100.03711.30
5.2.130.0000.05011.08
5.2.120.0070.03711.05
5.2.110.0130.03011.07
5.2.100.0100.03711.25
5.2.90.0070.04011.18
5.2.80.0030.04311.16
5.2.70.0130.03011.16
5.2.60.0030.04011.13
5.2.50.0070.03711.23
5.2.40.0100.03311.06
5.2.30.0030.04010.97
5.2.20.0170.02711.12
5.2.10.0000.04310.94
5.2.00.0070.04010.80
5.1.60.0000.03710.19
5.1.50.0070.04310.04
5.1.40.0030.04010.03
5.1.30.0100.03010.41
5.1.20.0030.03710.33
5.1.10.0100.03010.10
5.1.00.0070.03310.04
5.0.50.0070.0338.50
5.0.40.0070.0238.49
5.0.30.0000.0438.29
5.0.20.0000.0308.34
5.0.10.0000.0308.21
5.0.00.0170.0408.13
4.4.90.0030.0207.45
4.4.80.0030.0177.45
4.4.70.0030.0237.45
4.4.60.0100.0137.45
4.4.50.0070.0207.45
4.4.40.0000.0337.45
4.4.30.0030.0207.45
4.4.20.0000.0237.45
4.4.10.0070.0177.45
4.4.00.0000.0377.45
4.3.110.0100.0207.45
4.3.100.0070.0177.45
4.3.90.0030.0177.45
4.3.80.0000.0337.45
4.3.70.0000.0207.45
4.3.60.0070.0237.45
4.3.50.0030.0207.45
4.3.40.0000.0377.45
4.3.30.0000.0207.45
4.3.20.0000.0237.45
4.3.10.0000.0237.45
4.3.00.0070.0276.92

preferences:
42.84 ms | 401 KiB | 5 Q