3v4l.org

run code in 300+ PHP versions simultaneously
<?php $masterArray = [ [ ['gross_value' => '100', 'quantity' => '5'], ['gross_value' => '200', 'quantity' => '6'] ] ]; var_export( array_map('array_merge', ...$masterArray) );

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.140.0140.00717.19
8.4.130.0080.00917.79
8.4.120.0090.01020.36
8.4.110.0110.00922.29
8.4.100.0070.00217.59
8.4.90.0040.00520.39
8.4.80.0060.01018.79
8.4.70.0120.01018.95
8.4.60.0080.00618.60
8.4.50.0120.00820.59
8.4.40.0090.00619.45
8.4.30.0100.00619.06
8.4.20.0070.01120.69
8.4.10.0060.00323.76
8.3.270.0090.00916.68
8.3.260.0100.01016.62
8.3.250.0130.00618.58
8.3.240.0110.00916.71
8.3.230.0090.01016.42
8.3.220.0140.00418.76
8.3.210.0050.00518.38
8.3.200.0060.00316.36
8.3.190.0110.00717.20
8.3.180.0120.00618.65
8.3.170.0090.00916.23
8.3.160.0090.00917.21
8.3.150.0180.00018.93
8.3.140.0090.00916.98
8.3.130.0080.00018.35
8.3.120.0090.00019.04
8.3.110.0070.00320.94
8.3.100.0030.00618.30
8.3.90.0090.00326.77
8.3.80.0060.00316.38
8.3.70.0100.01016.58
8.3.60.0170.00016.49
8.3.50.0100.01020.05
8.3.40.0070.00720.19
8.3.30.0070.00718.55
8.3.20.0070.00324.18
8.3.10.0000.00724.66
8.3.00.0080.00026.16
8.2.290.0100.00920.39
8.2.280.0110.01018.27
8.2.270.0130.00417.08
8.2.260.0150.00316.51
8.2.250.0090.00016.58
8.2.240.0060.00317.24
8.2.230.0050.00322.58
8.2.220.0080.00037.54
8.2.210.0040.00426.77
8.2.200.0070.00418.31
8.2.190.0140.00716.58
8.2.180.0100.00625.92
8.2.170.0070.00722.96
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0090.00026.16
8.2.110.0000.01021.05
8.2.100.0040.00717.91
8.2.90.0080.00018.09
8.2.80.0080.00019.02
8.2.70.0050.00317.38
8.2.60.0000.00917.92
8.2.50.0030.00518.05
8.2.40.0000.00819.85
8.2.30.0040.00418.02
8.2.20.0000.00719.17
8.2.10.0050.00217.98
8.2.00.0000.00719.17
8.1.330.0070.01220.34
8.1.320.0060.01017.88
8.1.310.0140.00416.36
8.1.300.0090.00616.89
8.1.290.0060.00330.84
8.1.280.0120.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.97
8.1.230.0030.00720.82
8.1.220.0020.00517.74
8.1.210.0000.00918.77
8.1.200.0030.00617.22
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0050.00317.62
8.1.160.0070.00018.93
8.1.150.0000.00818.57
8.1.140.0030.00617.38
8.1.130.0000.00818.88
8.1.120.0040.00417.39
8.1.110.0180.00017.19
8.1.100.0150.00217.27
8.1.90.0130.00317.37
8.1.80.0090.00917.32
8.1.70.0150.00017.32
8.1.60.0130.00517.27
8.1.50.0160.00317.29
8.1.40.0120.00617.27
8.1.30.0070.01017.46
8.1.20.0140.00617.41
8.1.10.0130.00617.25
8.1.00.0140.00517.31
8.0.300.0030.00320.15
8.0.290.0000.00716.63
8.0.280.0070.00018.36
8.0.270.0030.00316.68
8.0.260.0060.00018.39
8.0.250.0000.00716.82
8.0.240.0110.00016.82
8.0.230.0110.00516.71
8.0.220.0080.00816.69
8.0.210.0120.00516.63
8.0.200.0150.00316.70
8.0.190.0110.00716.67
8.0.180.0060.01116.80
8.0.170.0120.00416.82
8.0.160.0110.00416.81
8.0.150.0030.01016.73
8.0.140.0100.00316.78
8.0.130.0050.01016.52
8.0.120.0150.00016.71
8.0.110.0110.00316.70
8.0.100.0090.00616.74
8.0.90.0120.00216.72
8.0.80.0140.00016.78
8.0.70.0040.01116.73
8.0.60.0140.00016.66
8.0.50.0120.00216.81
8.0.30.0080.00616.53
8.0.20.0110.00416.74
8.0.10.0140.00016.80
7.4.330.0030.00315.55
7.4.320.0080.00816.37
7.4.300.0080.00816.47
7.4.290.0120.00316.46
7.4.280.0120.00416.37
7.4.270.0110.00516.52
7.4.260.0080.00816.43
7.4.250.0150.00016.36
7.4.240.0070.00716.41
7.4.230.0160.00016.48
7.4.220.0070.00716.36
7.4.210.0090.00516.37
7.4.200.0100.00316.37
7.4.190.0110.00416.47
7.4.180.0100.00316.43
7.4.160.0040.00916.30
7.4.150.0070.00616.37
7.4.140.0080.00516.21
7.4.130.0050.00916.28
7.4.120.0000.01316.37
7.4.110.0090.00416.21
7.4.100.0100.00416.39
7.4.90.0060.00316.35
7.4.80.0000.01016.33
7.4.70.0050.00916.27
7.4.60.0060.00916.34
7.4.50.0140.00016.19
7.4.40.0040.00916.16
7.4.30.0130.00016.18
7.4.20.0040.00916.24
7.4.10.0130.00016.27
7.4.00.0030.01016.29

preferences:
96.48 ms | 403 KiB | 5 Q