3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(1, 2, 3, 4, 5); $b = array("one", "two", "three", "four", "five"); $c = array("uno", "dos", "tres", "cuatro", "cinco"); $d = array_map(null, $a, $b, $c); print_r($d); ?>

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.4.20.0130.00717.49
8.4.10.0090.00017.45
8.3.150.0110.00716.46
8.3.140.0060.00316.90
8.3.130.0000.00818.22
8.3.120.0030.00618.60
8.3.110.0080.00020.94
8.3.100.0040.00424.06
8.3.90.0080.00026.77
8.3.80.0030.00616.50
8.3.70.0110.00716.58
8.3.60.0090.00916.50
8.3.50.0100.01021.09
8.3.40.0060.00918.46
8.3.30.0090.00618.84
8.3.20.0060.00320.04
8.3.10.0000.01021.86
8.3.00.0040.00417.38
8.2.270.0060.01317.20
8.2.260.0080.00016.73
8.2.250.0100.01016.45
8.2.240.0190.00016.96
8.2.230.0000.00822.58
8.2.220.0130.00637.54
8.2.210.0000.00826.77
8.2.200.0030.00616.38
8.2.190.0040.01116.62
8.2.180.0040.01125.92
8.2.170.0070.00718.83
8.2.160.0130.00022.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0070.00021.04
8.2.110.0030.00622.20
8.2.100.0000.01117.66
8.2.90.0000.00822.32
8.2.80.0040.00417.97
8.2.70.0040.00717.79
8.2.60.0000.00818.09
8.2.50.0040.00418.10
8.2.40.0080.00019.66
8.2.30.0040.00417.98
8.2.20.0060.00317.52
8.2.10.0060.00317.98
8.2.00.0000.00718.05
8.1.310.0040.00418.18
8.1.300.0040.00417.76
8.1.290.0030.00618.88
8.1.280.0090.00625.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00522.23
8.1.230.0080.00419.10
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0000.00817.22
8.1.190.0090.00017.13
8.1.180.0050.00318.10
8.1.170.0030.00518.34
8.1.160.0080.00021.88
8.1.150.0040.00420.68
8.1.140.0000.00717.32
8.1.130.0030.00318.70
8.1.120.0000.00717.40
8.1.110.0040.00417.43
8.1.100.0000.00717.42
8.1.90.0000.00717.38
8.1.80.0030.00517.42
8.1.70.0040.00417.27
8.1.60.0040.00417.39
8.1.50.0080.00017.41
8.1.40.0080.00017.44
8.1.30.0050.00317.48
8.1.20.0040.00417.62
8.1.10.0050.00217.43
8.1.00.0040.00417.35
8.0.300.0040.00419.91
8.0.290.0050.00216.75
8.0.280.0000.00718.40
8.0.270.0030.00317.13
8.0.260.0040.00418.36
8.0.250.0060.00016.85
8.0.240.0050.00316.84
8.0.230.0070.00016.86
8.0.220.0000.00716.84
8.0.210.0100.00016.81
8.0.200.0060.00016.75
8.0.190.0080.00016.82
8.0.180.0080.00016.82
8.0.170.0000.00716.77
8.0.160.0030.00316.80
8.0.150.0030.00416.70
8.0.140.0070.00016.78
8.0.130.0070.00013.28
8.0.120.0000.00816.78
8.0.110.0050.00316.80
8.0.100.0040.00416.70
8.0.90.0070.00016.80
8.0.80.0110.01116.88
8.0.70.0030.00316.82
8.0.60.0000.00816.68
8.0.50.0050.00216.70
8.0.30.0100.00917.01
8.0.20.0150.00517.40
8.0.10.0000.00716.82
8.0.00.0110.00916.55
7.4.330.0000.00515.09
7.4.320.0030.00316.48
7.4.300.0000.00616.40
7.4.290.0030.00316.37
7.4.280.0040.00416.40
7.4.270.0040.00416.52
7.4.260.0070.00316.50
7.4.250.0040.00416.48
7.4.240.0030.00316.52
7.4.230.0000.00616.36
7.4.220.0060.01616.44
7.4.210.0020.01416.53
7.4.200.0000.00716.22
7.4.160.0060.01316.35
7.4.150.0150.00317.40
7.4.140.0140.00617.86
7.4.130.0120.00816.40
7.4.120.0090.00916.45
7.4.110.0060.01216.53
7.4.100.0130.00616.41
7.4.90.0130.00316.25
7.4.80.0000.01819.39
7.4.70.0060.01216.37
7.4.60.0090.00616.41
7.4.50.0050.00316.42
7.4.40.0120.00616.31
7.4.30.0130.00316.35
7.4.00.0070.01014.75
7.3.330.0060.00013.02
7.3.320.0000.00513.06
7.3.310.0030.00316.07
7.3.300.0030.00316.17
7.3.290.0100.00716.13
7.3.280.0110.00816.15
7.3.270.0130.00317.40
7.3.260.0030.01316.45
7.3.250.0080.00916.39
7.3.240.0110.00516.15
7.3.230.0130.00616.39
7.3.210.0130.01016.29
7.3.200.0130.00419.39
7.3.190.0070.01016.24
7.3.180.0040.01516.53
7.3.170.0130.00316.27
7.3.160.0090.00916.52
7.2.330.0100.00716.55
7.2.320.0100.01316.52
7.2.310.0120.01416.63
7.2.300.0120.00916.31
7.2.290.0000.01716.62
7.2.90.1390.00614.42
7.2.80.2320.00714.59
7.2.70.1720.00714.81
7.2.60.0760.00815.53
7.2.50.1630.01014.58
7.2.40.1350.01014.36
7.2.30.1340.00714.77
7.2.20.2130.00714.64
7.2.10.2210.01714.70
7.2.00.0770.00816.85
7.1.210.1700.01013.55
7.1.200.0960.01014.57
7.1.190.1980.00713.88
7.1.180.2210.00013.57
7.1.170.1420.01313.67
7.1.160.2590.00713.72
7.1.150.1350.01013.52
7.1.140.2040.01013.41
7.1.130.1550.01013.80
7.1.120.1270.00713.52
7.1.110.1440.00313.65
7.1.100.0970.00714.77
7.1.90.2270.01013.47
7.1.80.1040.01013.44
7.1.70.1730.00115.32
7.1.60.0930.01125.57
7.1.50.0710.01524.13
7.1.40.1390.01031.53
7.1.30.1670.01331.46
7.1.20.1220.01031.23
7.1.10.0730.01313.77
7.1.00.0350.04618.15
7.0.310.1560.00713.56
7.0.300.1950.00713.15
7.0.290.1710.00613.40
7.0.280.1220.01713.57
7.0.270.1300.01013.14
7.0.260.1350.01013.50
7.0.250.1350.00913.39
7.0.240.1410.00313.57
7.0.230.2120.00313.23
7.0.220.1290.01013.14
7.0.210.1770.00313.47
7.0.200.0960.00515.13
7.0.190.1390.00713.59
7.0.180.1250.00313.64
7.0.170.1060.01113.67
7.0.160.1220.01013.28
7.0.150.0650.00913.20
7.0.140.0650.01213.38
7.0.130.0720.00713.48
7.0.120.0940.00413.41
7.0.110.1000.01313.51
7.0.100.1070.00013.55
7.0.90.0770.00613.54
7.0.80.1040.00713.46
7.0.70.0580.00313.57
7.0.60.0450.03716.66
7.0.50.0370.04215.62
7.0.40.0270.03416.80
7.0.30.0490.04616.86
7.0.20.0540.02616.73
7.0.10.0230.03616.96
7.0.00.0400.04216.76
5.6.300.0100.01014.11
5.6.290.0100.01313.86
5.6.280.0030.04717.71
5.6.270.0210.00214.41
5.6.260.0160.00614.16
5.6.250.0150.01214.18
5.6.240.0030.01714.29
5.6.230.0110.01113.98
5.6.220.0080.01614.20
5.6.210.0110.04917.31
5.6.200.0060.03116.24
5.6.190.0090.02617.24
5.6.180.0240.03517.40
5.6.170.0160.02317.43
5.6.160.0140.04417.24
5.6.150.0130.02516.24
5.6.140.0110.02116.18
5.6.130.0070.04016.10
5.6.120.0120.03117.58
5.6.110.0070.03617.58
5.6.100.0150.04517.65
5.6.90.0160.04117.67
5.6.80.0110.04517.21
5.6.70.0040.01913.95
5.6.60.0160.00814.24
5.6.50.0120.00814.23
5.6.40.0120.01214.11
5.6.30.0150.00814.04
5.6.20.0120.00713.88
5.6.10.0150.00314.23
5.6.00.0100.01314.19
5.5.380.0160.00311.00
5.5.370.0050.01111.20
5.5.360.0130.00910.78
5.5.350.0130.04415.74
5.5.340.0120.03814.39
5.5.330.0110.04415.57
5.5.320.0120.04015.72
5.5.310.0220.03215.66
5.5.300.0050.04714.66
5.5.290.0030.03214.60
5.5.280.0170.03916.06
5.5.270.0070.02515.95
5.5.260.0050.03215.96
5.5.250.0100.04015.76
5.5.240.0120.03115.49
5.5.230.0110.00611.17
5.5.220.0120.00210.66
5.5.210.0090.00911.07
5.5.200.0140.00511.06
5.5.190.0050.00811.10
5.5.180.0130.00510.99
5.5.170.0120.01113.97
5.5.160.0120.00611.11
5.5.150.0140.00311.18
5.5.140.0090.00510.86
5.5.130.0150.00310.93
5.5.120.0080.01111.16
5.5.110.0100.00711.02
5.5.100.0100.00310.80
5.5.90.0090.00910.87
5.5.80.0130.00610.82
5.5.70.0090.00911.04
5.5.60.0070.00710.88
5.5.50.0110.00711.12
5.5.40.0100.01011.08
5.5.30.0120.00311.12
5.5.20.0070.00711.10
5.5.10.0110.00610.77
5.5.00.0140.00311.03
5.4.450.0350.04315.28
5.4.440.0340.03115.41
5.4.430.0530.02215.36
5.4.420.0520.02715.23
5.4.410.0410.03115.17
5.4.400.0370.02815.14
5.4.390.0390.02815.05
5.4.380.0370.03115.10
5.4.370.0420.03714.95
5.4.360.0490.03014.93
5.4.350.0380.02914.85
5.4.340.0280.03215.15
5.4.330.0120.00510.98
5.4.320.0210.02714.90
5.4.310.0110.02714.92
5.4.300.0370.02615.08
5.4.290.0280.03714.95
5.4.280.0330.04315.25
5.4.270.0440.03614.88
5.4.260.0410.03015.15
5.4.250.0230.03414.91
5.4.240.0190.03014.88
5.4.230.0180.03614.89
5.4.220.0070.03415.22
5.4.210.0330.03114.82
5.4.200.0310.02613.86
5.4.190.0360.02315.03
5.4.180.0300.02715.04
5.4.170.0360.02315.02
5.4.160.0320.02815.10
5.4.150.0180.02814.93
5.4.140.0300.03313.77
5.4.130.0320.02513.67
5.4.120.0150.02313.75
5.4.110.0270.02713.65
5.4.100.0100.02713.66
5.4.90.0180.02613.69
5.4.80.0050.03413.71
5.4.70.0170.02613.81
5.4.60.0180.02213.80
5.4.50.0090.02813.56
5.4.40.0080.03213.47
5.4.30.0110.02813.65
5.4.20.0100.03013.51
5.4.10.0150.02413.77
5.4.00.0090.03013.47
5.3.290.0090.03312.70
5.3.280.0100.03012.47
5.3.270.0070.03312.49
5.3.260.0120.03412.66
5.3.250.0130.02912.49
5.3.240.0080.03012.55
5.3.230.0120.02712.57
5.3.220.0120.03012.44
5.3.210.0140.02712.53
5.3.200.0110.03112.44
5.3.190.0140.02612.45
5.3.180.0080.03012.44
5.3.170.0070.03312.59
5.3.160.0200.01812.52
5.3.150.0130.02712.61
5.3.140.0120.02812.38
5.3.130.0060.03512.32
5.3.120.0050.03712.34
5.3.110.0100.03212.51
5.3.100.0140.02712.19
5.3.90.0110.03012.19
5.3.80.0120.02712.18
5.3.70.0140.02512.04
5.3.60.0130.02812.26
5.3.50.0150.02612.16
5.3.40.0130.02712.07
5.3.30.0120.02512.11
5.3.20.0190.02712.09
5.3.10.0190.02911.91
5.3.00.0160.02311.90
5.2.170.0140.02010.31
5.2.160.0110.02210.36
5.2.150.0090.02510.40
5.2.140.0120.02210.26
5.2.130.0090.02510.22
5.2.120.0090.02210.36
5.2.110.0130.02010.28
5.2.100.0100.02110.44
5.2.90.0060.02710.23
5.2.80.0040.02910.20
5.2.70.0100.02610.21
5.2.60.0100.02310.16
5.2.50.0130.02010.15
5.2.40.0140.01810.22
5.2.30.0090.02210.16
5.2.20.0050.02410.16
5.2.10.0140.01910.06
5.2.00.0070.0249.93
5.1.60.0120.0159.56
5.1.50.0090.0189.60
5.1.40.0100.0179.61
5.1.30.0090.0189.76
5.1.20.0090.0199.74
5.1.10.0100.0189.60
5.1.00.0160.0139.56
5.0.50.0020.0198.84
5.0.40.0060.0168.73
5.0.30.0070.0228.71
5.0.20.0070.0148.70
5.0.10.0060.0208.68
5.0.00.0090.0198.69
4.4.90.0060.0137.51
4.4.80.0070.0127.47
4.4.70.0030.0157.48
4.4.60.0030.0157.55
4.4.50.0060.0117.54
4.4.40.0070.0197.49
4.4.30.0060.0127.49
4.4.20.0030.0157.57
4.4.10.0070.0107.56
4.4.00.0050.0227.51
4.3.110.0070.0137.44
4.3.100.0080.0127.45
4.3.90.0070.0137.48
4.3.80.0030.0217.43
4.3.70.0050.0127.49
4.3.60.0030.0167.50
4.3.50.0140.0117.49
4.3.40.0080.0177.46
4.3.30.0100.0136.87
4.3.20.0100.0136.90
4.3.10.0050.0146.83
4.3.00.0070.0128.17

preferences:
83.48 ms | 403 KiB | 5 Q