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.3.60.0090.00918.30
8.3.50.0110.00521.02
8.3.40.0120.00318.46
8.3.30.0110.00318.45
8.3.20.0050.00318.67
8.3.10.0080.00020.52
8.3.00.0040.00423.65
8.2.180.0070.01016.38
8.2.170.0000.01422.96
8.2.160.0070.01120.35
8.2.150.0060.00324.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0040.00419.11
8.2.110.0000.01021.12
8.2.100.0040.00717.72
8.2.90.0090.00017.78
8.2.80.0000.00817.97
8.2.70.0030.00517.80
8.2.60.0040.00418.09
8.2.50.0060.00318.10
8.2.40.0040.00418.34
8.2.30.0040.00419.84
8.2.20.0070.00017.62
8.2.10.0040.00417.54
8.2.00.0040.00417.68
8.1.280.0120.00325.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0140.00722.38
8.1.230.0120.00022.82
8.1.220.0000.00917.74
8.1.210.0050.00318.77
8.1.200.0000.00917.23
8.1.190.0080.00017.10
8.1.180.0080.00318.10
8.1.170.0030.00518.50
8.1.160.0070.00018.71
8.1.150.0030.00618.56
8.1.140.0030.00717.41
8.1.130.0030.00317.75
8.1.120.0080.00317.41
8.1.110.0000.00717.38
8.1.100.0050.00217.39
8.1.90.0040.00417.27
8.1.80.0000.00817.29
8.1.70.0030.00317.38
8.1.60.0000.00817.39
8.1.50.0040.00417.40
8.1.40.0000.00817.44
8.1.30.0000.00917.46
8.1.20.0030.00617.53
8.1.10.0060.00317.39
8.1.00.0000.00817.34
8.0.300.0000.00719.68
8.0.290.0030.00616.63
8.0.280.0000.00718.43
8.0.270.0080.00017.18
8.0.260.0000.00616.67
8.0.250.0040.00416.82
8.0.240.0040.00416.88
8.0.230.0030.00316.89
8.0.220.0030.00316.83
8.0.210.0070.00016.71
8.0.200.0060.00016.86
8.0.190.0040.00416.77
8.0.180.0030.00316.83
8.0.170.0030.00716.76
8.0.160.0060.00316.86
8.0.150.0100.00016.75
8.0.140.0040.00416.70
8.0.130.0000.00613.26
8.0.120.0050.00216.65
8.0.110.0070.00016.76
8.0.100.0050.00216.86
8.0.90.0050.00316.87
8.0.80.0060.00916.71
8.0.70.0040.00416.72
8.0.60.0040.00416.67
8.0.50.0000.00716.84
8.0.30.0140.00616.97
8.0.20.0140.01117.40
8.0.10.0080.00016.90
8.0.00.0060.01616.83
7.4.330.0030.00313.43
7.4.320.0030.00316.43
7.4.300.0030.00316.52
7.4.290.0040.00416.54
7.4.280.0000.00716.34
7.4.270.0060.00016.43
7.4.260.0050.00013.17
7.4.250.0000.00816.45
7.4.240.0030.00416.55
7.4.230.0000.00816.61
7.4.220.0090.00916.52
7.4.210.0080.00816.47
7.4.200.0070.00016.55
7.4.190.0070.00016.39
7.4.160.0030.01316.53
7.4.150.0170.00017.40
7.4.140.0080.00817.86
7.4.130.0050.01216.39
7.4.120.0130.00316.26
7.4.110.0180.00816.35
7.4.100.0130.00316.24
7.4.90.0200.00316.48
7.4.80.0160.00019.04
7.4.70.0160.00616.46
7.4.60.0130.00816.25
7.4.50.0040.00416.44
7.4.40.0110.00422.27
7.4.30.0120.00316.52
7.4.00.0100.00714.75
7.3.330.0000.00513.00
7.3.320.0000.00812.84
7.3.310.0060.00016.07
7.3.300.0070.00016.12
7.3.290.0070.00716.07
7.3.280.0120.00516.15
7.3.270.0090.00617.40
7.3.260.0120.00718.24
7.3.250.0120.00916.17
7.3.240.0120.00616.43
7.3.230.0190.00016.39
7.3.210.0060.00916.20
7.3.200.0100.01019.39
7.3.190.0130.00616.23
7.3.180.0090.00616.22
7.3.170.0120.00316.27
7.3.160.0150.00016.43
7.3.120.0070.01014.88
7.3.10.0110.00416.37
7.3.00.0030.00916.63
7.2.330.0120.01016.49
7.2.320.0160.00016.61
7.2.310.0030.01316.17
7.2.300.0060.01016.37
7.2.290.0000.01716.30
7.2.130.0140.00016.73
7.2.120.0000.00916.74
7.2.110.0070.00716.80
7.2.100.0030.00616.69
7.2.90.0030.00716.63
7.2.80.0090.00916.70
7.2.70.0050.00516.89
7.2.60.0090.00816.53
7.2.50.0060.00916.63
7.2.40.0070.00716.66
7.2.30.0160.00316.66
7.2.20.0030.01016.77
7.2.10.0090.00616.75
7.2.00.0100.00618.04
7.1.250.0070.00715.79
7.1.200.0030.00615.70
7.1.100.0030.01018.12
7.1.70.0090.00616.83
7.1.60.0100.01419.40
7.1.50.0070.00716.95
7.1.00.0030.06722.45
7.0.200.0070.00316.77
7.0.140.0070.07322.00
7.0.60.0000.05319.91
7.0.50.0100.08017.90
7.0.40.0070.04320.13
7.0.30.0230.05020.11
7.0.20.0300.07720.33
7.0.10.0130.08020.27
7.0.00.0030.05020.08
5.6.280.0100.06721.02
5.6.210.0100.04020.62
5.6.200.0070.08018.19
5.6.190.0070.04720.47
5.6.180.0330.04020.55
5.6.170.0270.08720.47
5.6.160.0100.08020.54
5.6.150.0130.05318.19
5.6.140.0100.07718.14
5.6.130.0070.07718.16
5.6.120.0100.06721.02
5.6.110.0100.03320.99
5.6.100.0000.04720.99
5.6.90.0170.07320.96
5.6.80.0130.07720.48
5.5.350.0300.04320.38
5.5.340.0100.07717.97
5.5.330.0100.08020.43
5.5.320.0370.07320.51
5.5.310.0200.04020.33
5.5.300.0000.05718.03
5.5.290.0100.08718.09
5.5.280.0100.06720.87
5.5.270.0000.04320.77
5.5.260.0070.04020.97
5.5.250.0130.07320.66
5.5.240.0030.08020.36
5.4.450.0200.06719.25
5.4.440.0100.06319.46
5.4.430.0000.06019.56
5.4.420.0070.04319.17
5.4.410.0030.04319.04
5.4.400.0030.04019.15
5.4.390.0030.03719.15
5.4.380.0070.03319.23
5.4.370.0000.04019.12
5.4.360.0200.02719.20
5.4.350.0070.04019.14
5.4.340.0130.02719.00
5.4.320.0070.03718.97
5.4.310.0030.04018.87
5.4.300.0000.04019.23
5.4.290.0070.03319.23
5.4.280.0030.03719.24
5.4.270.0100.03719.00
5.4.260.0030.03718.86
5.4.250.0030.03719.14
5.4.240.0030.04318.84
5.4.230.0070.03318.97
5.4.220.0030.03719.14
5.4.210.0000.04019.19
5.4.200.0000.05318.86
5.4.190.0070.03319.13
5.4.180.0030.03719.10
5.4.170.0070.03318.91
5.4.160.0030.03719.12
5.4.150.0100.03719.05
5.4.140.0000.04016.35
5.4.130.0100.03016.33
5.4.120.0100.03016.45
5.4.110.0100.07016.34
5.4.100.0100.03016.37
5.4.90.0070.06316.67
5.4.80.0070.07316.48
5.4.70.0070.08016.32
5.4.60.0070.07716.36
5.4.50.0100.06716.40
5.4.40.0030.07316.46
5.4.30.0070.05316.43
5.4.20.0030.08016.40
5.4.10.0070.07016.37
5.4.00.0030.07715.74
5.3.290.0030.03714.72
5.3.280.0000.04014.73
5.3.270.0000.04014.59
5.3.260.0030.03714.65
5.3.250.0030.04314.52
5.3.240.0070.03314.66
5.3.230.0130.04314.64
5.3.220.0100.07314.57
5.3.210.0130.06714.58
5.3.200.0170.03714.62
5.3.190.0030.08314.59
5.3.180.0100.05714.58
5.3.170.0030.04014.60
5.3.160.0230.05714.59
5.3.150.0070.04314.59
5.3.140.0070.06014.47
5.3.130.0230.05714.46
5.3.120.0030.09014.59
5.3.110.0130.05314.56
5.3.100.0030.06714.19
5.3.90.0070.04013.90
5.3.80.0100.04013.90
5.3.70.0100.04713.96
5.3.60.0100.04014.00
5.3.50.0070.03714.02
5.3.40.0130.03313.94
5.3.30.0100.06713.90
5.3.20.0000.07313.69
5.3.10.0070.06713.65
5.3.00.0030.05713.69
5.2.170.0070.03011.15
5.2.160.0000.03311.32
5.2.150.0000.06311.14
5.2.140.0030.06311.21
5.2.130.0030.03711.06
5.2.120.0000.06311.13
5.2.110.0030.04011.26
5.2.100.0070.06311.06
5.2.90.0130.03011.11
5.2.80.0030.06311.13
5.2.70.0070.06011.14
5.2.60.0030.06311.01
5.2.50.0030.04310.97
5.2.40.0100.05711.14
5.2.30.0070.06010.92
5.2.20.0070.05710.97
5.2.10.0030.03710.91
5.2.00.0100.04310.74
5.1.60.0030.0579.99
5.1.50.0100.05310.04
5.1.40.0000.04310.02
5.1.30.0070.05310.29
5.1.20.0030.04010.31
5.1.10.0000.03710.11
5.1.00.0000.03710.13
5.0.50.0030.0238.59
5.0.40.0000.0238.45
5.0.30.0030.0638.19
5.0.20.0030.0438.26
5.0.10.0070.0378.31
5.0.00.0000.0338.22
4.4.90.0030.0376.98
4.4.80.0030.0276.98
4.4.70.0000.0276.98
4.4.60.0030.0376.98
4.4.50.0000.0376.98
4.4.40.0000.0376.98
4.4.30.0000.0336.98
4.4.20.0030.0236.98
4.4.10.0070.0236.98
4.4.00.0070.0306.98
4.3.110.0030.0136.98
4.3.100.0000.0176.98
4.3.90.0030.0176.98
4.3.80.0030.0406.98
4.3.70.0000.0206.98
4.3.60.0000.0336.98
4.3.50.0030.0206.98
4.3.40.0070.0436.98
4.3.30.0000.0206.98
4.3.20.0000.0236.98
4.3.10.0070.0236.98
4.3.00.0000.0376.98

preferences:
44.41 ms | 401 KiB | 5 Q