3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = array_merge_recursive(array(1, 2, 3), array(1, 2, 3)); var_dump($r);

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.0130.00916.50
8.3.50.0070.01016.27
8.3.40.0110.00418.50
8.3.30.0070.00718.39
8.3.20.0040.00420.39
8.3.10.0070.00023.62
8.3.00.0000.00819.31
8.2.180.0110.00718.29
8.2.170.0040.01122.96
8.2.160.0090.00918.91
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00419.38
8.2.120.0080.00026.35
8.2.110.0080.00020.57
8.2.100.0120.00017.66
8.2.90.0080.00019.13
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0000.00817.91
8.2.50.0080.00018.10
8.2.40.0030.00520.59
8.2.30.0040.00420.88
8.2.20.0000.00717.93
8.2.10.0000.00717.98
8.2.00.0040.00418.09
8.1.280.0150.00425.92
8.1.270.0040.00423.87
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0070.00420.84
8.1.230.0070.00419.16
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0080.00016.88
8.1.180.0000.00718.10
8.1.170.0040.00418.50
8.1.160.0000.00819.00
8.1.150.0070.00020.61
8.1.140.0030.00619.39
8.1.130.0050.00218.86
8.1.120.0000.00717.31
8.1.110.0000.00817.30
8.1.100.0040.00417.32
8.1.90.0000.00717.22
8.1.80.0000.00717.30
8.1.70.0000.00717.40
8.1.60.0050.00217.56
8.1.50.0030.00617.44
8.1.40.0030.00617.32
8.1.30.0000.00717.49
8.1.20.0030.00517.47
8.1.10.0030.00717.33
8.1.00.0090.00017.24
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00318.42
8.0.270.0050.00317.18
8.0.260.0040.00416.76
8.0.250.0030.00316.79
8.0.240.0030.00316.77
8.0.230.0030.00316.89
8.0.220.0040.00416.73
8.0.210.0030.00316.76
8.0.200.0000.00616.94
8.0.190.0000.00816.87
8.0.180.0020.00516.88
8.0.170.0070.00016.75
8.0.160.0070.00016.91
8.0.150.0040.00416.60
8.0.140.0050.00216.70
8.0.130.0000.00613.27
8.0.120.0040.00416.76
8.0.110.0030.00616.79
8.0.100.0040.00416.86
8.0.90.0000.00716.69
8.0.80.0100.01016.86
8.0.70.0040.00316.86
8.0.60.0060.00316.83
8.0.50.0070.00016.71
8.0.30.0110.00917.03
8.0.20.0100.00817.40
8.0.10.0000.00816.77
8.0.00.0120.00616.66
7.4.330.0020.00215.55
7.4.320.0000.00716.45
7.4.300.0000.00616.43
7.4.290.0030.00316.54
7.4.280.0040.00416.46
7.4.270.0050.00216.42
7.4.260.0030.00616.51
7.4.250.0030.00316.41
7.4.240.0100.00016.58
7.4.230.0030.00316.60
7.4.220.0130.00616.46
7.4.210.0030.01816.56
7.4.200.0000.00616.48
7.4.160.0050.01116.32
7.4.150.0140.00317.40
7.4.140.0110.00917.86
7.4.130.0120.00816.49
7.4.120.0130.00916.47
7.3.330.0050.00013.12
7.3.320.0000.00513.01
7.3.310.0040.00416.07
7.3.300.0030.00316.18
7.3.290.0080.00716.19
7.3.280.0080.00816.16
7.3.270.0090.00917.40
7.3.260.0180.00016.23
7.3.250.0110.01016.28
7.3.240.0110.00716.38

preferences:
48.25 ms | 401 KiB | 5 Q