3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($arr1, $arr2) = [ [ '1', '2' ], [ '10' ] ]; array_map(function($item1, $item2){ var_dump(func_get_args()); }, $arr1, $arr2);

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.70.0090.00916.75
8.3.60.0110.00718.27
8.3.50.0080.00717.35
8.3.40.0150.00618.67
8.3.30.0080.00618.77
8.3.20.0050.00220.29
8.3.10.0030.00721.78
8.3.00.0050.00319.56
8.2.180.0110.00416.63
8.2.170.0140.00022.96
8.2.160.0100.00319.27
8.2.150.0000.00724.18
8.2.140.0070.00024.66
8.2.130.0040.00421.05
8.2.120.0070.00026.35
8.2.110.0030.00620.10
8.2.100.0080.00318.02
8.2.90.0050.00319.09
8.2.80.0080.00017.97
8.2.70.0100.00017.63
8.2.60.0040.00418.05
8.2.50.0080.00018.10
8.2.40.0040.00420.55
8.2.30.0000.00819.23
8.2.20.0000.00718.10
8.2.10.0070.00018.15
8.2.00.0050.00218.05
8.1.280.0150.00025.92
8.1.270.0080.00022.19
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.69
8.1.230.0070.00418.82
8.1.220.0030.00617.76
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0000.00817.36
8.1.180.0070.00018.10
8.1.170.0000.00818.64
8.1.160.0080.00018.95
8.1.150.0000.01118.89
8.1.140.0040.00419.60
8.1.130.0050.00318.89
8.1.120.0030.00317.38
8.1.110.0040.00417.34
8.1.100.0000.00717.42
8.1.90.0080.00017.41
8.1.80.0000.00717.36
8.1.70.0000.00717.49
8.1.60.0000.00717.57
8.1.50.0040.00417.40
8.1.40.0040.00417.37
8.1.30.0040.00417.65
8.1.20.0000.00817.54
8.1.10.0090.00017.55
8.1.00.0070.00017.30
8.0.300.0050.00218.77
8.0.290.0090.00016.75
8.0.280.0030.00318.39
8.0.270.0000.00717.25
8.0.260.0030.00316.72
8.0.250.0000.00716.86
8.0.240.0070.00017.01
8.0.230.0030.00816.84
8.0.220.0000.00616.90
8.0.210.0000.00816.85
8.0.200.0000.00616.91
8.0.190.0040.00416.84
8.0.180.0080.00016.79
8.0.170.0040.00416.79
8.0.160.0040.00416.93
8.0.150.0070.00016.71
8.0.140.0020.00516.84
8.0.130.0060.00013.30
8.0.120.0030.00616.68
8.0.110.0040.00416.86
8.0.100.0040.00416.71
8.0.90.0080.00016.80
8.0.80.0090.00616.86
8.0.70.0000.00816.69
8.0.60.0000.00716.71
8.0.50.0040.00416.91
8.0.30.0100.00916.88
8.0.20.0110.00717.40
8.0.10.0050.00316.95
8.0.00.0170.00616.80
7.4.330.0050.00015.55
7.4.320.0000.00616.64
7.4.300.0030.00316.51
7.4.290.0030.00316.57
7.4.280.0070.00016.48
7.4.270.0040.00416.42
7.4.260.0000.00716.51
7.4.250.0000.00716.47
7.4.240.0030.00316.52
7.4.230.0000.00716.33
7.4.220.0060.01216.54
7.4.210.0090.00616.48
7.4.200.0050.00316.39
7.4.160.0110.00516.49
7.4.150.0090.01617.40
7.4.140.0110.00817.86
7.4.130.0150.01216.48
7.4.120.0100.01016.58
7.4.110.0060.01216.35
7.4.100.0140.00916.36
7.4.90.0100.00716.55
7.4.80.0070.01019.39
7.4.70.0110.00516.52
7.4.60.0040.01216.70
7.4.50.0030.00916.36
7.4.40.0060.01316.54
7.4.30.0100.00616.61
7.4.00.0070.00714.81
7.3.330.0050.00013.36
7.3.320.0000.00513.25
7.3.310.0040.00416.19
7.3.300.0000.00716.21
7.3.290.0070.00916.32
7.3.280.0080.00916.31
7.3.270.0090.00917.40
7.3.260.0090.01216.49
7.3.250.0110.00616.32
7.3.240.0140.00616.43
7.3.230.0030.01516.51
7.3.210.0070.01116.61
7.3.200.0110.01116.55
7.3.190.0060.00916.54
7.3.180.0110.00516.30
7.3.170.0120.00316.36
7.3.160.0090.00616.37
7.3.120.0030.01414.56
7.3.110.0130.00314.73
7.3.100.0060.00914.77
7.3.90.0040.01814.77
7.3.80.0030.01014.77
7.3.70.0070.00714.45
7.3.60.0120.00414.68
7.3.50.0070.00714.41
7.3.40.0110.00414.78
7.3.30.0050.01114.72
7.3.20.0030.01416.28
7.3.10.0070.00416.69
7.3.00.0090.00616.54
7.2.330.0100.01016.61
7.2.320.0040.01316.73
7.2.310.0140.00316.39
7.2.300.0120.00616.61
7.2.290.0000.01616.62
7.2.250.0030.01214.68
7.2.240.0030.01614.84
7.2.230.0070.01015.05
7.2.220.0080.00814.80
7.2.210.0120.00314.72
7.2.200.0060.01315.20
7.2.190.0030.01014.96
7.2.180.0100.00314.86
7.2.170.0060.01215.02
7.2.80.0080.00416.47
7.2.60.0030.01316.95
7.2.00.0070.00719.41
7.1.330.0100.00315.43
7.1.320.0060.00615.61
7.1.310.0070.00715.52
7.1.300.0070.00315.32
7.1.290.0030.01415.74
7.1.280.0040.01515.57
7.1.270.0110.00715.52
7.1.260.0000.01115.54
7.1.200.0070.00715.63
7.1.100.0200.00718.13
7.1.70.0090.00317.20
7.1.60.0180.00935.10
7.1.50.0200.00734.66
7.1.40.0100.02034.21
7.1.30.0200.01034.45
7.1.20.0200.01034.27
7.1.10.0070.00716.75
7.1.00.0000.01416.72
7.0.200.0090.00316.73
7.0.190.0100.00316.52
7.0.180.0030.01016.21
7.0.170.0100.00316.06
7.0.160.0070.00716.06
7.0.150.0060.00616.33
7.0.140.0060.00616.23
7.0.130.0060.01316.37
7.0.120.0030.01116.38
7.0.110.0040.01116.30
7.0.100.0110.00316.41
7.0.90.0030.01016.26
7.0.80.0060.00616.32
7.0.70.0030.01016.29
7.0.60.0070.00716.05
7.0.50.0070.00716.39
7.0.40.0090.00316.68
7.0.30.0040.00816.38
7.0.20.0000.02016.31
7.0.10.0070.01016.45
7.0.00.0140.00016.32

preferences:
50.86 ms | 401 KiB | 5 Q