3v4l.org

run code in 300+ PHP versions simultaneously
<?php $users = array('name' => 'Ivan', 'name' => 'Peter', 'name' => 'Roman', 'name' => 'Kolya', 'name' => 'Eugen', 'name' => 'Pavel', 'names' => 'Ivacheg'); $names = map(index('name'), $users); var_dump($names);

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.0110.01118.43
8.3.50.0170.00521.08
8.3.40.0140.00018.79
8.3.30.0030.01020.04
8.3.20.0030.00720.29
8.3.10.0080.00022.15
8.3.00.0040.00422.44
8.2.180.0140.00716.38
8.2.170.0030.01022.96
8.2.160.0030.01022.11
8.2.150.0040.00424.18
8.2.140.0050.00524.66
8.2.130.0000.00826.16
8.2.120.0050.00320.93
8.2.110.0110.00019.06
8.2.100.0040.00817.78
8.2.90.0000.00718.22
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0060.00317.91
8.2.50.0030.00618.10
8.2.40.0100.00318.15
8.2.30.0000.00819.31
8.2.20.0040.00417.51
8.2.10.0000.00817.61
8.2.00.0050.00217.60
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0110.00023.70
8.1.230.0080.00321.10
8.1.220.0020.00517.79
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0060.00317.22
8.1.180.0000.00818.10
8.1.170.0000.00918.31
8.1.160.0070.00018.75
8.1.150.0040.00418.44
8.1.140.0000.00717.33
8.1.130.0040.00417.73
8.1.120.0040.00417.35
8.1.110.0050.00317.40
8.1.100.0040.00417.28
8.1.90.0030.00617.38
8.1.80.0070.00017.40
8.1.70.0030.00317.37
8.1.60.0040.00417.40
8.1.50.0050.00317.47
8.1.40.0000.00717.55
8.1.30.0030.00617.47
8.1.20.0040.00417.65
8.1.10.0000.00817.47
8.1.00.0080.00017.51
8.0.300.0030.00519.73
8.0.290.0040.00416.75
8.0.280.0030.00418.45
8.0.270.0030.00317.19
8.0.260.0000.00716.76
8.0.250.0000.00816.94
8.0.240.0030.00616.82
8.0.230.0000.00716.87
8.0.220.0000.00716.85
8.0.210.0070.00016.84
8.0.200.0040.00416.91
8.0.190.0070.00017.00
8.0.180.0000.00716.91
8.0.170.0000.00716.90
8.0.160.0030.00316.75
8.0.150.0040.00416.84
8.0.140.0000.00716.85
8.0.130.0030.00313.39
8.0.120.0070.00016.87
8.0.110.0000.00716.95
8.0.100.0030.00316.96
8.0.90.0030.00516.72
8.0.80.0030.01116.84
8.0.70.0040.00416.85
8.0.60.0030.00616.77
8.0.50.0000.00716.75
8.0.30.0160.00317.10
8.0.20.0100.00817.40
8.0.10.0050.00216.90
8.0.00.0100.01116.62
7.4.330.0050.00015.00
7.4.320.0000.00616.41
7.4.300.0000.00616.53
7.4.290.0030.00316.57
7.4.280.0070.00316.39
7.4.270.0070.00016.39
7.4.260.0000.00613.29
7.4.250.0050.00216.59
7.4.240.0000.00816.54
7.4.230.0000.00716.29
7.4.220.0090.00916.63
7.4.210.0060.01116.52
7.4.200.0070.00016.59
7.4.190.0000.00716.39
7.4.160.0140.00716.34
7.4.150.0150.00817.40
7.4.140.0090.00917.86
7.4.130.0070.01016.46
7.4.120.0110.00716.55
7.4.110.0160.00716.56
7.4.100.0030.01316.41
7.4.90.0210.00316.62
7.4.80.0130.00619.39
7.4.70.0090.00916.35
7.4.60.0150.01016.52
7.4.50.0030.00516.30
7.4.40.0060.00922.77
7.4.30.0030.01416.52
7.4.00.0110.00714.98
7.3.330.0000.00613.07
7.3.320.0060.00013.23
7.3.310.0030.00316.24
7.3.300.0030.00516.24
7.3.290.0030.01016.27
7.3.280.0060.00916.31
7.3.270.0070.01017.40
7.3.260.0100.00716.47
7.3.250.0070.01116.27
7.3.240.0070.01016.39
7.3.230.0080.00816.39
7.3.210.0120.01016.55
7.3.200.0140.00519.39
7.3.190.0060.01216.46
7.3.180.0100.01016.57
7.3.170.0040.01116.27
7.3.160.0100.00616.56
7.3.120.0090.00615.05
7.2.330.0100.01016.29
7.2.320.0100.00716.62
7.2.310.0120.00616.51
7.2.300.0080.00816.51
7.2.290.0040.01216.45
7.2.60.0070.01016.66
7.2.00.0000.01119.40
7.1.200.0040.00715.24
7.1.100.0030.00718.14
7.1.70.0000.00817.05
7.1.60.0070.01419.32
7.1.50.0070.01416.76
7.1.00.0030.04722.35
7.0.200.0130.00916.39
7.0.140.0030.06322.12
7.0.120.0130.05322.06
7.0.110.0070.07321.93
7.0.100.0030.07322.00
7.0.90.0100.08022.17
7.0.80.0030.06722.16
7.0.70.0030.07321.97
7.0.60.0070.05722.05
7.0.50.0030.04322.08
7.0.40.0000.03322.07
7.0.30.0000.03721.98
7.0.20.0000.03322.06
7.0.10.0030.03022.11
7.0.00.0000.03322.03
5.6.280.0100.06721.10
5.6.260.0070.07021.10
5.6.250.0030.06321.09
5.6.240.0000.08020.84
5.6.230.0000.05720.82
5.6.220.0030.07321.07
5.6.210.0000.07720.68
5.6.200.0030.06320.93
5.6.190.0030.03321.03
5.6.180.0030.03020.92
5.6.170.0000.03320.82
5.6.160.0000.03321.06
5.6.150.0030.04321.06
5.6.140.0030.05320.99
5.6.130.0070.02721.00
5.6.120.0000.07720.84
5.6.110.0070.06721.02
5.6.100.0030.07721.03
5.6.90.0030.07321.04
5.6.80.0030.06720.46
5.6.70.0030.03020.29
5.6.60.0000.03320.41
5.6.50.0000.03320.43
5.6.40.0070.02720.11
5.6.30.0000.04020.42
5.6.20.0030.03320.35
5.6.10.0000.05320.25
5.6.00.0030.06020.16
5.5.380.0000.08017.45
5.5.370.0070.05717.63
5.5.360.0030.06717.62
5.5.350.0030.07317.54
5.5.340.0070.06317.87
5.5.330.0030.03317.86
5.5.320.0000.03317.85
5.5.310.0030.03018.26
5.5.300.0000.04017.84
5.5.290.0000.03318.12
5.5.280.0030.07318.13
5.5.270.0030.07318.01
5.5.260.0000.07017.97
5.5.250.0070.06317.66
5.5.240.0000.07017.48
5.5.230.0070.03717.55
5.5.220.0000.03017.24
5.5.210.0000.03317.54
5.5.200.0030.02717.20
5.5.190.0030.03317.20
5.5.180.0030.03017.21
5.5.160.0000.06717.45
5.5.150.0000.04017.21
5.5.140.0000.05317.11
5.5.130.0000.06717.37
5.5.120.0000.06317.20
5.5.110.0070.06017.33
5.5.100.0030.06317.10
5.5.90.0030.08017.41
5.5.80.0030.05717.41
5.5.70.0030.05316.97
5.5.60.0030.05317.46
5.5.50.0030.05317.50
5.5.40.0000.04317.13
5.5.30.0030.04317.39
5.5.20.0000.03717.24
5.5.10.0000.04317.25
5.5.00.0000.03317.35
5.4.450.0000.04319.57
5.4.440.0000.03719.43
5.4.430.0070.06719.32
5.4.420.0070.06019.34
5.4.410.0070.06319.46
5.4.400.0100.04718.98
5.4.390.0000.03319.28
5.4.380.0000.03019.24
5.4.370.0000.03319.02
5.4.360.0030.03018.95
5.4.350.0070.03319.11
5.4.340.0000.04719.27
5.4.320.0030.05718.94
5.4.310.0000.05319.27
5.4.300.0030.05719.07
5.4.290.0000.07018.89
5.4.280.0000.07019.09
5.4.270.0030.05318.92
5.4.260.0030.06019.11
5.4.250.0030.06319.00
5.4.240.0030.04719.10
5.4.230.0000.06718.99
5.4.220.0070.06719.00
5.4.210.0070.06318.91
5.4.200.0000.03719.16
5.4.190.0070.04019.07
5.4.180.0030.03019.02
5.4.170.0000.03319.10
5.4.160.0000.03018.92
5.4.150.0000.05019.15
5.4.140.0030.03016.21
5.4.130.0030.02716.23
5.4.120.0000.03016.46
5.4.110.0000.03716.37
5.4.100.0100.05716.52
5.4.90.0030.06016.53
5.4.80.0000.06016.17
5.4.70.0000.06316.26
5.4.60.0130.05316.45
5.4.50.0030.06316.25
5.4.40.0070.05716.25
5.4.30.0070.06016.34
5.4.20.0030.06316.34
5.4.10.0030.06016.25
5.4.00.0000.04015.66
5.3.290.0070.04014.54
5.3.280.0000.08314.42
5.3.270.0000.04014.52
5.3.260.0030.06014.49
5.3.250.0030.03014.59
5.3.240.0070.04014.53
5.3.230.0030.02714.61
5.3.220.0030.03014.45
5.3.210.0030.03014.39
5.3.200.0000.05714.58
5.3.190.0000.07014.46
5.3.180.0030.06314.48
5.3.170.0000.07014.41
5.3.160.0030.06714.38
5.3.150.0000.07014.55
5.3.140.0000.06714.48
5.3.130.0000.08014.55
5.3.120.0000.05314.48
5.3.110.0030.07014.61
5.3.100.0000.04314.11
5.3.90.0000.03013.91
5.3.80.0000.04713.87
5.3.70.0030.03013.95
5.3.60.0000.03314.03
5.3.50.0000.02713.88
5.3.40.0070.06014.04
5.3.30.0030.06014.00
5.3.20.0000.05013.79
5.3.10.0000.02713.48
5.3.00.0000.03013.50
5.2.170.0000.02311.13
5.2.160.0030.02011.06
5.2.150.0030.05711.08
5.2.140.0000.05711.04
5.2.130.0030.02711.00
5.2.120.0000.02311.02
5.2.110.0000.02311.10
5.2.100.0000.02310.89
5.2.90.0000.02311.05
5.2.80.0030.02011.02
5.2.70.0000.02311.08
5.2.60.0070.02010.96
5.2.50.0000.02311.03
5.2.40.0000.02310.94
5.2.30.0000.02311.00
5.2.20.0000.02311.12
5.2.10.0000.02310.88
5.2.00.0000.02310.94
5.1.60.0000.0209.89
5.1.50.0000.0209.95
5.1.40.0000.0209.94
5.1.30.0070.01710.34
5.1.20.0000.02710.48
5.1.10.0000.0209.98
5.1.00.0000.02010.00
5.0.50.0000.0179.86
5.0.40.0000.0379.86
5.0.30.0000.0579.86
5.0.20.0070.0309.86
5.0.10.0000.0409.86
5.0.00.0030.0539.86
4.4.90.0030.0109.86
4.4.80.0000.0139.86
4.4.70.0000.0139.86
4.4.60.0000.0209.86
4.4.50.0000.0139.86
4.4.40.0000.0209.86
4.4.30.0030.0109.86
4.4.20.0000.0139.86
4.4.10.0000.0179.86
4.4.00.0000.0209.86
4.3.110.0030.0279.86
4.3.100.0000.0279.86
4.3.90.0000.0279.86
4.3.80.0030.0409.86
4.3.70.0000.0309.86
4.3.60.0070.0239.86
4.3.50.0000.0339.86
4.3.40.0000.0479.86
4.3.30.0000.0339.86
4.3.20.0030.0279.86
4.3.10.0030.0239.86
4.3.00.0000.0309.86

preferences:
46.53 ms | 401 KiB | 5 Q