3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'tag_name' => array('google', 'Yahoo') ), array( 'tag_name' => array('technology', 'andsuch') ) ); print_r(array_map(function ($entry) { return $entry['tag_name']; }, $input));

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.0120.00316.38
8.3.50.0140.00322.04
8.3.40.0090.00618.71
8.3.30.0040.01119.09
8.3.20.0040.00420.21
8.3.10.0040.00423.59
8.3.00.0060.00319.38
8.2.180.0060.01016.38
8.2.170.0130.00722.96
8.2.160.0130.00020.33
8.2.150.0030.00624.18
8.2.140.0020.00524.66
8.2.130.0070.00026.16
8.2.120.0040.00422.29
8.2.110.0060.00322.30
8.2.100.0030.00720.34
8.2.90.0030.00519.89
8.2.80.0000.00817.97
8.2.70.0050.00318.00
8.2.60.0040.00417.93
8.2.50.0090.00018.10
8.2.40.0050.00319.94
8.2.30.0040.00418.17
8.2.20.0060.00317.63
8.2.10.0000.00718.18
8.2.00.0080.00017.75
8.1.280.0180.00025.92
8.1.270.0050.00323.77
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.96
8.1.230.0080.00419.10
8.1.220.0000.00917.74
8.1.210.0050.00318.77
8.1.200.0040.00417.38
8.1.190.0000.00817.25
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0040.00422.02
8.1.150.0030.00518.55
8.1.140.0000.00717.48
8.1.130.0030.00317.74
8.1.120.0030.00317.52
8.1.110.0000.00817.49
8.1.100.0040.00417.32
8.1.90.0000.00817.48
8.1.80.0030.00317.52
8.1.70.0000.00717.38
8.1.60.0030.00617.59
8.1.50.0060.00317.48
8.1.40.0000.00717.42
8.1.30.0040.00417.57
8.1.20.0060.00317.62
8.1.10.0000.00717.39
8.1.00.0000.00717.43
8.0.300.0070.00019.64
8.0.290.0040.00416.63
8.0.280.0040.00418.29
8.0.270.0030.00317.09
8.0.260.0000.00717.19
8.0.250.0070.00016.89
8.0.240.0000.00716.93
8.0.230.0030.00316.82
8.0.220.0000.00716.78
8.0.210.0070.00016.74
8.0.200.0080.00016.84
8.0.190.0000.00716.88
8.0.180.0000.00716.81
8.0.170.0040.00416.90
8.0.160.0070.00016.89
8.0.150.0110.00016.70
8.0.140.0000.00916.86
8.0.130.0000.00513.27
8.0.120.0060.00316.95
8.0.110.0040.00416.91
8.0.100.0040.00416.74
8.0.90.0070.00016.88
8.0.80.0070.01516.89
8.0.70.0000.00716.87
8.0.60.0000.00716.77
8.0.50.0000.00716.95
8.0.30.0050.01417.12
8.0.20.0110.00617.40
8.0.10.0030.00316.95
8.0.00.0110.01016.73
7.4.330.0000.00515.20
7.4.320.0000.00616.57
7.4.300.0030.00316.61
7.4.290.0040.00416.53
7.4.280.0040.00416.60
7.4.270.0040.00416.52
7.4.260.0040.00416.56
7.4.250.0000.00716.49
7.4.240.0000.00716.53
7.4.230.0030.00316.55
7.4.220.0000.01916.52
7.4.210.0080.00716.60
7.4.200.0030.00316.71
7.4.190.0000.00716.41
7.4.160.0060.01016.55
7.4.150.0030.01517.40
7.4.140.0160.01317.86
7.4.130.0060.01116.49
7.4.120.0100.00616.46
7.4.110.0130.01016.37
7.4.100.0090.01216.39
7.4.90.0080.00816.57
7.4.80.0150.00619.39
7.4.70.0130.00416.53
7.4.60.0030.01316.45
7.4.50.0000.00716.46
7.4.40.0180.00316.38
7.4.30.0120.01216.49
7.4.00.0090.00614.59
7.3.330.0030.00313.31
7.3.320.0060.00013.31
7.3.310.0070.00016.28
7.3.300.0030.00316.30
7.3.290.0030.01016.25
7.3.280.0060.01116.21
7.3.270.0030.01317.40
7.3.260.0040.01316.37
7.3.250.0060.01316.42
7.3.240.0080.00816.56
7.3.230.0100.01316.39
7.3.210.0140.00316.41
7.3.200.0100.00719.39
7.3.190.0130.01016.49
7.3.180.0120.00416.38
7.3.170.0030.01316.55
7.3.160.0040.01116.48
7.3.120.0030.01414.84
7.3.110.0030.01014.68
7.3.100.0040.00714.66
7.3.90.0080.00014.58
7.3.80.0000.01314.94
7.3.70.0040.00814.62
7.3.60.0070.00714.50
7.3.50.0100.00314.69
7.3.40.0110.00314.75
7.3.30.0040.01114.79
7.3.20.0060.00616.63
7.3.10.0000.01116.71
7.3.00.0040.00816.44
7.2.330.0070.01116.67
7.2.320.0060.01216.67
7.2.310.0090.01316.57
7.2.300.0070.01016.59
7.2.290.0110.00516.76
7.2.240.0040.00714.95
7.2.230.0060.00314.77
7.2.220.0040.00714.86
7.2.210.0000.01414.76
7.2.200.0030.01315.01
7.2.190.0000.01714.80
7.2.180.0030.00614.66
7.2.170.0070.00414.86
7.2.160.0050.00815.00
7.2.150.0080.00416.88
7.2.140.0090.00616.55
7.2.130.0090.00616.90
7.2.120.0060.00916.74
7.2.110.0000.00916.55
7.2.100.0000.01116.85
7.2.90.0070.00716.92
7.2.80.0060.00316.79
7.2.70.0070.00716.98
7.2.60.0050.00816.67
7.2.50.0070.00716.73
7.2.40.0110.00416.78
7.2.30.0060.00916.91
7.2.20.0060.00616.86
7.2.10.0030.01216.50
7.2.00.0060.00917.85
7.1.330.0030.01015.96
7.1.320.0070.00315.64
7.1.310.0070.00715.54
7.1.300.0030.00715.73
7.1.290.0000.00915.73
7.1.280.0000.00915.54
7.1.270.0120.00015.84
7.1.260.0040.00815.89
7.1.250.0040.00815.95
7.1.200.0030.01015.39
7.1.100.0100.00017.93
7.1.70.0030.01016.99
7.1.60.0060.01619.46
7.1.50.0200.01734.87
7.1.00.0100.07022.31
7.0.200.0030.00616.82
7.0.140.0000.07722.09
7.0.60.0070.08720.04
7.0.50.0170.02717.91
7.0.40.0130.07320.18
7.0.30.0330.07320.11
7.0.20.0170.07320.09
7.0.10.0070.06720.10
7.0.00.0030.05320.29
5.6.280.0100.06320.82
5.6.210.0030.04320.67
5.6.200.0130.08018.17
5.6.190.0070.08320.61
5.6.180.0170.04020.35
5.6.170.0330.06720.39
5.6.160.0030.04720.46
5.6.150.0130.07018.27
5.6.140.0030.04018.23
5.6.130.0030.04718.11
5.6.120.0000.08721.00
5.6.110.0030.04321.08
5.6.100.0230.07320.98
5.6.90.0070.07720.98
5.6.80.0030.08320.38
5.5.350.4430.04020.50
5.5.340.0100.07017.96
5.5.330.0100.07020.27
5.5.320.0430.06720.52
5.5.310.0170.06720.27
5.5.300.0030.05017.97
5.5.290.0100.07717.98
5.5.280.0270.06320.65
5.5.270.0100.06320.89
5.5.260.0070.07320.87
5.5.250.0070.06720.58
5.5.240.0030.08020.19
5.4.450.0330.05319.17
5.4.440.0370.05019.16
5.4.430.0400.05719.30
5.4.420.0300.04719.55
5.4.410.0270.06019.18
5.4.400.0300.05319.38
5.4.390.0200.05719.24
5.4.380.0030.06718.73
5.4.370.0200.04318.74
5.4.360.0170.04718.72
5.4.350.0100.05718.53
5.4.340.0200.04718.56
5.4.320.0060.03912.50
5.4.310.0070.03912.50
5.4.300.0060.04012.51
5.4.290.0060.03812.50
5.4.280.0060.04312.39
5.4.270.0120.04812.39
5.4.260.0140.05912.39
5.4.250.0120.06912.39
5.4.240.0090.05812.39
5.4.230.0080.06112.38
5.4.220.0100.04112.39
5.4.210.0080.04112.38
5.4.200.0070.03812.39
5.4.190.0080.03612.38
5.4.180.0070.04812.39
5.4.170.0070.03612.39
5.4.160.0080.03412.39
5.4.150.0070.03612.39
5.4.140.0050.04012.07
5.4.130.0040.04012.06
5.4.120.0100.03112.02
5.4.110.0060.03712.02
5.4.100.0010.04012.02
5.4.90.0050.03712.01
5.4.80.0090.03312.02
5.4.70.0050.03612.01
5.4.60.0060.03412.01
5.4.50.0020.03912.01
5.4.40.0070.03312.00
5.4.30.0080.03311.99
5.4.20.0070.03411.99
5.4.10.0060.03512.00
5.4.00.0060.03611.48
5.3.290.0080.03812.80
5.3.280.0110.03312.71
5.3.270.0080.05012.72
5.3.260.0180.05712.72
5.3.250.0100.04212.72
5.3.240.0060.04212.72
5.3.230.0050.04212.71
5.3.220.0030.04212.68
5.3.210.0050.04412.68
5.3.200.0040.04012.68
5.3.190.0050.03912.68
5.3.180.0050.03812.68
5.3.170.0070.03612.66
5.3.160.0090.03412.67
5.3.150.0080.04912.67
5.3.140.0060.03812.66
5.3.130.0080.04112.66
5.3.120.0070.03812.66
5.3.110.0090.03612.66
5.3.100.0050.03812.11
5.3.90.0070.03412.09
5.3.80.0080.03412.09
5.3.70.0030.03812.09
5.3.60.0070.03512.07
5.3.50.0060.03712.02
5.3.40.0090.03812.02
5.3.30.0080.03311.98
5.3.20.0070.03511.76
5.3.10.0070.03411.72
5.3.00.0070.03511.72
5.2.170.0030.0329.18
5.2.160.0070.0409.18
5.2.150.0030.0379.18
5.2.140.0090.0399.18
5.2.130.0060.0299.14
5.2.120.0050.0289.14
5.2.110.0030.0309.14
5.2.100.0050.0279.14
5.2.90.0050.0429.14
5.2.80.0070.0289.14
5.2.70.0040.0319.14
5.2.60.0060.0299.10
5.2.50.0040.0339.06
5.2.40.0070.0309.04
5.2.30.0060.0289.01
5.2.20.0090.0259.00
5.2.10.0060.0288.92
5.2.00.0070.0268.78
5.1.60.0040.0238.07
5.1.50.0020.0278.07
5.1.40.0020.0278.05
5.1.30.0030.0278.40
5.1.20.0060.0258.42
5.1.10.0020.0288.14
5.1.00.0100.0208.14
5.0.50.0010.0236.62
5.0.40.0070.0166.48
5.0.30.0050.0316.29
5.0.20.0020.0206.26
5.0.10.0020.0216.24
5.0.00.0050.0326.23
4.4.90.0030.0154.77
4.4.80.0020.0164.75
4.4.70.0030.0154.75
4.4.60.0000.0184.76
4.4.50.0050.0134.77
4.4.40.0050.0234.71
4.4.30.0040.0144.76
4.4.20.0040.0144.84
4.4.10.0050.0144.85
4.4.00.0040.0244.76
4.3.110.0020.0164.67
4.3.100.0030.0154.67
4.3.90.0020.0174.64
4.3.80.0030.0244.58
4.3.70.0010.0164.63
4.3.60.0030.0144.63
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0030.0163.29
4.3.20.0010.0173.27
4.3.10.0010.0163.22
4.3.00.0030.0277.34

preferences:
52.23 ms | 401 KiB | 5 Q