3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1=array("a"=>"red","b"=>"green"); $a2=array("c"=>"blue","b"=>"yellow"); $c = array_merge_recursive($a1,$a2); $a3=array("c"=>"blue","b"=>"yellow"); print_r(array_merge_recursive($a3,$c));

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.0060.01218.05
8.3.50.0220.00017.80
8.3.40.0150.00018.42
8.3.30.0070.00718.45
8.3.20.0080.00018.99
8.3.10.0080.00023.71
8.3.00.0080.00020.61
8.2.180.0070.00716.50
8.2.170.0000.01522.96
8.2.160.0000.01420.53
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00419.64
8.2.120.0080.00026.35
8.2.110.0030.00621.06
8.2.100.0080.00417.91
8.2.90.0040.00417.50
8.2.80.0030.00517.97
8.2.70.0000.00817.80
8.2.60.0000.00818.09
8.2.50.0030.00618.10
8.2.40.0000.00819.17
8.2.30.0070.00019.07
8.2.20.0000.00718.04
8.2.10.0000.00718.05
8.2.00.0030.00517.70
8.1.280.0080.01225.92
8.1.270.0050.00318.73
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00321.25
8.1.230.0110.00017.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.11
8.1.180.0040.00418.10
8.1.170.0080.00018.50
8.1.160.0040.00418.86
8.1.150.0070.00018.80
8.1.140.0040.00422.11
8.1.130.0030.00320.25
8.1.120.0040.00417.40
8.1.110.0050.00317.23
8.1.100.0050.00217.43
8.1.90.0000.00917.35
8.1.80.0080.00017.34
8.1.70.0070.00317.39
8.1.60.0080.00017.35
8.1.50.0030.00617.35
8.1.40.0040.00417.45
8.1.30.0030.00717.59
8.1.20.0000.00817.46
8.1.10.0040.00417.34
8.1.00.0040.00817.28
8.0.300.0070.00318.77
8.0.290.0040.00416.58
8.0.280.0030.00318.27
8.0.270.0000.00717.22
8.0.260.0070.00018.36
8.0.250.0000.00716.84
8.0.240.0030.00316.87
8.0.230.0040.00416.86
8.0.220.0060.00316.79
8.0.210.0040.00416.78
8.0.200.0040.00416.75
8.0.190.0000.00716.86
8.0.180.0070.00016.71
8.0.170.0030.00616.80
8.0.160.0070.00016.70
8.0.150.0050.00216.74
8.0.140.0080.00016.79
8.0.130.0030.00313.18
8.0.120.0000.00716.68
8.0.110.0000.00816.78
8.0.100.0000.00816.67
8.0.90.0030.00316.64
8.0.80.0050.01416.78
8.0.70.0000.00716.87
8.0.60.0050.00216.77
8.0.50.0040.00416.80
8.0.30.0090.00917.03
8.0.20.0090.01317.40
8.0.10.0040.00416.79
8.0.00.0100.00716.67
7.4.330.0000.00515.55
7.4.320.0000.00716.50
7.4.300.0030.00316.42
7.4.290.0030.00316.35
7.4.280.0050.00316.51
7.4.270.0000.00816.53
7.4.260.0080.00316.40
7.4.250.0030.00316.43
7.4.240.0000.00716.61
7.4.230.0070.00016.45
7.4.220.0040.00416.31
7.4.210.0020.01316.54
7.4.200.0000.00716.40
7.4.160.0100.00616.27
7.4.140.0090.01017.86
7.4.130.0120.00616.33
7.4.120.0080.01116.33
7.4.110.0120.00616.31
7.4.100.0110.00616.36
7.4.90.0080.00816.36
7.4.80.0060.00919.39
7.4.70.0050.01116.27
7.4.60.0060.00916.36
7.4.50.0040.01216.21
7.4.40.0110.01116.61
7.4.00.0040.01214.81
7.3.330.0000.00613.07
7.3.320.0050.00012.97
7.3.310.0060.00316.20
7.3.300.0040.00416.13
7.3.290.0000.00716.14
7.3.280.0070.01116.10
7.3.260.0120.00616.27
7.3.240.0120.00616.30
7.3.230.0080.00816.22
7.3.210.0060.00916.40
7.3.200.0030.01416.54
7.3.190.0120.00616.52
7.3.180.0040.01216.43
7.3.170.0110.01116.18
7.3.160.0100.00616.14
7.3.120.0050.01214.35
7.3.110.0080.01014.53
7.3.100.0070.00514.38
7.3.90.0100.00214.56
7.3.80.0090.00614.83
7.3.70.0060.00714.52
7.3.60.0060.00814.64
7.3.50.0110.00414.73
7.3.40.0050.00914.41
7.3.30.0040.00914.56
7.3.20.0070.00716.51
7.3.10.0120.00316.48
7.3.00.0090.00516.47
7.2.330.0120.00616.53
7.2.320.0110.00616.65
7.2.310.0060.01116.59
7.2.300.0070.01416.60
7.2.290.0120.00416.64
7.2.250.0060.01214.87
7.2.240.0130.00514.59
7.2.230.0090.00614.81
7.2.220.0030.01014.88
7.2.210.0070.00614.85
7.2.200.0030.01214.72
7.2.190.0060.00914.96
7.2.180.0060.00614.87
7.2.170.0010.01014.89
7.2.110.0110.00414.23
7.2.100.1390.00614.42
7.2.90.0150.00314.13
7.2.80.0570.00714.27
7.2.70.0390.00614.76
7.2.60.0210.00914.88
7.2.50.0140.00314.51
7.2.40.0290.00714.68
7.2.30.0110.00314.81
7.2.20.0490.00714.28
7.2.10.0070.01814.83
7.2.00.0070.01414.58
7.1.330.0070.00815.86
7.1.320.0040.00515.67
7.1.310.0040.00915.87
7.1.300.0020.01315.63
7.1.290.0070.00415.68
7.1.280.0090.00315.73
7.1.270.0040.00715.64
7.1.260.0050.00715.82
7.1.230.0070.00713.39
7.1.220.0680.01113.52
7.1.210.0120.00413.74
7.1.200.0120.00213.76
7.1.190.0030.01013.42
7.1.180.0090.00313.94
7.1.170.0440.00913.65
7.1.160.0540.00313.52
7.1.150.0150.00313.65
7.1.140.0080.00813.79
7.1.130.0890.01313.60
7.1.120.0240.00913.83
7.1.110.0060.01113.70
7.1.100.0060.00913.40
7.1.90.0320.00613.91
7.1.80.0110.00813.36
7.1.70.0150.00313.67
7.1.60.0380.00431.59
7.1.50.1170.00731.48
7.1.40.0360.01131.58
7.1.30.0270.01331.68
7.1.20.0250.01431.66
7.1.10.0070.00713.25
7.1.00.0030.01513.39
5.6.380.0120.00613.90

preferences:
53.73 ms | 400 KiB | 5 Q