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()); }, $arr2, $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.60.0070.01118.56
8.3.50.0070.01116.14
8.3.40.0090.00918.84
8.3.30.0070.00718.77
8.3.20.0080.00020.31
8.3.10.0070.00323.43
8.3.00.0080.00019.43
8.2.180.0110.00416.63
8.2.170.0090.00622.96
8.2.160.0030.01419.07
8.2.150.0050.00325.66
8.2.140.0050.00324.66
8.2.130.0070.00019.37
8.2.120.0040.00426.35
8.2.110.0100.00021.93
8.2.100.0040.00817.97
8.2.90.0000.00819.17
8.2.80.0050.00318.16
8.2.70.0060.00617.63
8.2.60.0030.00617.92
8.2.50.0050.00318.10
8.2.40.0040.00420.46
8.2.30.0000.00719.31
8.2.20.0050.00318.01
8.2.10.0080.00018.17
8.2.00.0050.00218.00
8.1.280.0040.01125.92
8.1.270.0080.00022.10
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.98
8.1.230.0080.00322.16
8.1.220.0060.00317.74
8.1.210.0000.00918.77
8.1.200.0040.00717.10
8.1.190.0000.00817.23
8.1.180.0000.00718.10
8.1.170.0000.00818.58
8.1.160.0000.00719.05
8.1.150.0000.00920.69
8.1.140.0000.00719.54
8.1.130.0060.00318.76
8.1.120.0040.00417.46
8.1.110.0000.00717.46
8.1.100.0040.00417.31
8.1.90.0040.00417.42
8.1.80.0040.00417.43
8.1.70.0030.00317.49
8.1.60.0030.00517.46
8.1.50.0000.00717.55
8.1.40.0000.00817.53
8.1.30.0030.00517.64
8.1.20.0000.00817.68
8.1.10.0040.00417.46
8.1.00.0000.00717.46
8.0.300.0050.00318.77
8.0.290.0070.00016.58
8.0.280.0030.00318.48
8.0.270.0000.00717.23
8.0.260.0040.00416.87
8.0.250.0000.00716.97
8.0.240.0020.00516.92
8.0.230.0070.00316.84
8.0.220.0040.00416.87
8.0.210.0030.00316.90
8.0.200.0030.00316.95
8.0.190.0030.00516.82
8.0.180.0040.00416.82
8.0.170.0030.00316.82
8.0.160.0000.00816.94
8.0.150.0040.00416.86
8.0.140.0030.00316.90
8.0.130.0060.00013.30
8.0.120.0040.00416.74
8.0.110.0030.00616.75
8.0.100.0000.00816.78
8.0.90.0000.00716.95
8.0.80.0060.00916.86
8.0.70.0040.00416.72
8.0.60.0070.00016.90
8.0.50.0040.00416.68
8.0.30.0060.01116.94
8.0.20.0100.01117.40
8.0.10.0050.00316.89
8.0.00.0120.01216.70
7.4.330.0070.00015.55
7.4.320.0030.00316.56
7.4.300.0000.00716.39
7.4.290.0000.00716.58
7.4.280.0000.00816.59
7.4.270.0040.00416.64
7.4.260.0000.00716.43
7.4.250.0030.00516.53
7.4.240.0030.00316.57
7.4.230.0030.00316.33
7.4.220.0150.00316.62
7.4.210.0070.01116.57
7.4.200.0000.00716.35
7.4.160.0110.00616.49
7.4.150.0090.00917.40
7.4.140.0130.00717.86
7.4.130.0080.01216.43
7.4.120.0100.00916.49
7.4.110.0110.01116.47
7.4.100.0040.01416.53
7.4.90.0090.00616.55
7.4.80.0070.01019.39
7.4.70.0040.01216.48
7.4.60.0060.00916.37
7.4.50.0060.01016.42
7.4.40.0110.00916.41
7.4.30.0170.00016.57
7.4.00.0080.00814.93
7.3.330.0050.00013.22
7.3.320.0030.00313.36
7.3.310.0000.00716.29
7.3.300.0000.00716.13
7.3.290.0050.01016.26
7.3.280.0080.00916.31
7.3.270.0110.00617.40
7.3.260.0120.00816.34
7.3.250.0110.00916.41
7.3.240.0100.01016.27
7.3.230.0060.01216.26
7.3.210.0130.00316.41
7.3.200.0070.01016.45
7.3.190.0090.00616.34
7.3.180.0190.00316.22
7.3.170.0130.00316.59
7.3.160.0060.00916.43
7.3.10.0050.01016.63
7.3.00.0070.00316.43
7.2.330.0160.00316.52
7.2.320.0100.00716.59
7.2.310.0100.00616.47
7.2.300.0130.00316.79
7.2.290.0110.00916.43
7.2.130.0050.00916.70
7.2.120.0050.01016.69
7.2.110.0070.00716.76
7.2.100.0040.01116.68
7.2.90.0050.01016.60
7.2.80.0080.00816.61
7.2.70.0130.00716.81
7.2.60.0080.01016.65
7.2.50.0090.00816.69
7.2.40.0120.01316.81
7.2.30.0080.01016.78
7.2.20.0060.00716.75
7.2.10.0150.00216.59
7.2.00.0070.00817.68
7.1.250.0030.00715.48
7.1.200.0000.01415.83
7.1.100.0220.00418.00
7.1.70.0340.00715.08
7.1.60.0220.00735.10
7.1.50.0210.00934.78
7.1.40.0160.01334.36
7.1.30.0090.01834.26
7.1.20.0250.00334.27
7.1.10.0030.01016.44
7.1.00.0030.01216.55
7.0.200.0030.01216.67
7.0.190.0040.00916.57
7.0.180.0040.01116.31
7.0.170.0050.00816.06
7.0.160.0070.00716.13
7.0.150.0060.00616.34
7.0.140.0100.00316.33
7.0.130.0030.01016.37
7.0.120.0100.00316.41
7.0.110.0030.00916.20
7.0.100.0060.00616.33
7.0.90.0100.00316.21
7.0.80.0060.00916.35
7.0.70.0030.01016.41
7.0.60.0060.00915.87
7.0.50.0100.00316.39
7.0.40.0070.00716.41
7.0.30.0100.00316.51
7.0.20.0080.00616.60
7.0.10.0070.01016.43
7.0.00.0060.00616.34

preferences:
56.12 ms | 400 KiB | 5 Q