3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v_4 = [ [1, 2, 3], [4, 5, 6], ]; $v_5 = [ [7, 8, 9], [10, 11, 12], ]; var_export( array_map( fn(...$row) => array_map( fn(...$col) => array_sum($col), ...$row ), $v_4, $v_5 ) );

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.5.00.0110.01119.96
8.4.150.0170.00516.88
8.4.140.0150.00617.28
8.4.130.0080.01217.90
8.4.120.0050.00419.39
8.4.110.0120.00722.38
8.4.100.0090.01117.93
8.4.90.0070.00620.59
8.4.80.0050.00318.98
8.4.70.0110.00920.57
8.4.60.0090.01020.46
8.4.50.0120.00818.65
8.4.40.0080.01117.82
8.4.30.0130.00719.06
8.4.20.0100.01017.90
8.4.10.0080.01121.70
8.3.280.0070.00416.21
8.3.270.0090.01016.59
8.3.260.0080.01016.40
8.3.250.0110.00816.66
8.3.240.0130.00718.47
8.3.230.0120.00716.59
8.3.220.0100.00818.97
8.3.210.0110.00816.56
8.3.200.0040.00516.60
8.3.190.0100.00519.10
8.3.180.0100.00418.77
8.3.170.0140.00417.30
8.3.160.0100.00718.54
8.3.150.0040.01416.86
8.3.140.0070.01316.55
8.3.130.0060.00318.58
8.3.120.0090.00919.05
8.3.110.0040.00416.74
8.3.100.0100.00018.49
8.3.90.0040.00426.77
8.3.80.0030.00616.50
8.3.70.0240.00516.58
8.3.60.0070.01416.75
8.3.50.0140.00718.32
8.3.40.0090.00620.52
8.3.30.0140.00318.67
8.3.20.0000.00724.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.290.0110.00916.44
8.2.280.0060.00218.46
8.2.270.0070.00722.26
8.2.260.0120.00317.14
8.2.250.0040.01516.58
8.2.240.0040.00418.43
8.2.230.0050.00320.94
8.2.220.0050.00324.06
8.2.210.0080.00026.77
8.2.200.0040.00418.43
8.2.190.0130.00616.58
8.2.180.0170.00025.92
8.2.170.0030.01218.91
8.2.160.0000.01422.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0050.00326.16
8.2.110.0060.00322.16
8.2.100.0040.00817.86
8.2.90.0000.00818.03
8.2.80.0040.00417.97
8.2.70.0040.00418.03
8.2.60.0040.00417.97
8.2.50.0040.00418.10
8.2.40.0060.00320.95
8.2.30.0040.00419.29
8.2.20.0000.00819.28
8.2.10.0000.00718.19
8.2.00.0050.00219.31
8.1.330.0140.00516.30
8.1.320.0130.00517.93
8.1.310.0140.00316.60
8.1.300.0090.00016.80
8.1.290.0080.00430.84
8.1.280.0110.00425.92
8.1.270.0000.00922.13
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00617.36
8.1.230.0090.00321.08
8.1.220.0030.00517.76
8.1.210.0080.00018.77
8.1.200.0030.00617.25
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0080.00018.59
8.1.160.0040.00419.05
8.1.150.0040.00418.64
8.1.140.0070.00017.52
8.1.130.0080.00018.92
8.1.120.0070.00017.45
8.1.110.0040.00417.48
8.1.100.0040.00817.42
8.1.90.0150.00017.35
8.1.80.0110.00617.39
8.1.70.0000.01517.24
8.1.60.0040.01317.54
8.1.50.0120.00417.50
8.1.40.0190.00017.50
8.1.30.0100.00917.48
8.1.20.0080.00817.54
8.1.10.0130.00317.40
8.1.00.0160.00017.46
8.0.300.0000.00720.04
8.0.290.0030.00616.75
8.0.280.0040.00418.35
8.0.270.0000.00716.80
8.0.260.0030.00318.40
8.0.250.0030.00316.94
8.0.240.0000.00716.93
8.0.230.0130.00316.90
8.0.220.0120.00316.73
8.0.210.0140.00016.90
8.0.200.0040.01216.85
8.0.190.0100.00616.79
8.0.180.0130.00316.93
8.0.170.0110.00416.90
8.0.160.0080.00816.94
8.0.150.0100.00516.75
8.0.140.0000.01616.73
8.0.130.0070.00716.68
8.0.120.0110.00416.88
8.0.110.0160.00016.66
8.0.100.0110.00516.77
8.0.90.0000.01616.81
8.0.80.0100.00516.87
8.0.70.0120.00416.85
8.0.60.0110.00416.85
8.0.50.0060.00916.66
8.0.30.0140.00016.83
8.0.20.0140.00316.81
8.0.10.0110.00616.91
7.4.330.0000.00615.55
7.4.320.0040.00416.50
7.4.300.0130.00316.49
7.4.290.0110.00616.41
7.4.280.0130.00316.52
7.4.270.0110.00716.47
7.4.260.0120.00516.60
7.4.250.0160.00316.38
7.4.240.0160.00016.55
7.4.230.0120.00416.48
7.4.220.0080.00816.36
7.4.210.0090.00616.44
7.4.200.0000.01216.55
7.4.190.0100.00016.45
7.4.180.0110.00416.41
7.4.160.0160.00016.53
7.4.150.0140.00016.29
7.4.140.0110.00416.45
7.4.130.0050.00916.53
7.4.120.0050.01016.40
7.4.110.0120.00316.36
7.4.100.0100.00416.45
7.4.90.0090.00616.52
7.4.80.0090.00616.45
7.4.70.0050.00916.33
7.4.60.0070.00716.50
7.4.50.0130.00016.35
7.4.40.0100.00516.18
7.4.30.0110.00416.41
7.4.20.0120.00216.42
7.4.10.0080.00616.34
7.4.00.0090.00616.52

preferences:
32.49 ms | 403 KiB | 5 Q