3v4l.org

run code in 200+ PHP versions simultaneously
<?php $a = array( 1 => array( 'test' => 3 ) ); $b = array( 1 => array( 'test2' => 3 ) ); $c = array_merge_recursive( $a, $b ); var_dump( $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)
7.4.00.0070.00914.59
7.3.120.0130.00614.66
7.3.110.0140.00714.39
7.3.100.0100.00614.34
7.3.90.0040.01114.38
7.3.80.0030.01014.80
7.3.70.0090.00614.52
7.3.60.0070.00414.33
7.3.50.0060.00914.29
7.3.40.0040.00414.30
7.3.30.0000.01614.78
7.3.20.0100.00716.27
7.3.10.0030.00616.45
7.3.00.0080.00816.51
7.2.250.0090.00914.79
7.2.240.0130.00714.87
7.2.230.0060.00914.89
7.2.220.0100.00715.06
7.2.210.0100.00714.90
7.2.200.0030.01414.86
7.2.190.0030.01014.97
7.2.180.0000.00915.07
7.2.170.0070.00714.70
7.2.80.0000.01316.35
7.2.60.0000.01216.82
7.1.330.0090.00615.89
7.1.320.0100.00715.43
7.1.310.0080.00315.48
7.1.300.0110.00415.54
7.1.290.0040.00715.86
7.1.280.0060.00315.77
7.1.270.0070.00715.61
7.1.260.0040.00715.86
7.1.200.0030.00615.79
7.1.70.0030.00516.79
7.1.60.0080.00317.20
7.1.00.0000.08022.44
7.0.200.0070.00716.81
7.0.60.0100.07321.69
7.0.50.0170.07720.42
7.0.40.0230.05320.37
7.0.30.0030.06720.22
7.0.20.0170.05720.21
7.0.10.0230.06720.28
7.0.00.0330.06020.27
5.6.280.0070.07021.07
5.6.210.0130.07020.54
5.6.200.0300.05321.02
5.6.190.0170.06321.15
5.6.180.0170.05320.98
5.6.170.0170.06021.11
5.6.160.0500.04721.07
5.6.150.0270.08021.15
5.6.140.0200.05721.19
5.6.130.0100.06721.16
5.6.120.0270.06021.02
5.6.110.0330.06720.94
5.6.100.0430.06021.02
5.6.90.0230.05321.02
5.6.80.0130.06020.55
5.6.70.0200.05020.33
5.6.60.0200.05720.41
5.6.50.0230.06320.45
5.6.40.0200.06020.43
5.6.30.0170.06320.31
5.6.20.0270.04720.52
5.6.10.0200.06020.43
5.6.00.0200.05720.45
5.5.350.4230.03720.43
5.5.340.0200.05320.71
5.5.330.0130.06720.87
5.5.320.0130.06320.98
5.5.310.0170.06321.02
5.5.300.0200.05321.00
5.5.290.0170.06020.73
5.5.280.0270.05320.92
5.5.270.0200.06021.01
5.5.260.0370.04720.77
5.5.250.0170.06020.63
5.5.240.0070.06720.24
5.5.230.0330.04320.08
5.5.220.0200.06020.41
5.5.210.0270.05020.33
5.5.200.0230.05720.19
5.5.190.0270.07320.37
5.5.180.0170.06020.14
5.5.160.0270.05320.08
5.5.150.0170.05720.21
5.5.140.0270.05320.34
5.5.130.0200.05020.21
5.5.120.0170.06720.34
5.5.110.0270.05020.18
5.5.100.0300.04720.27
5.5.90.0100.06020.03
5.5.80.0170.05320.17
5.5.70.0170.05320.05
5.5.60.0230.04720.16
5.5.50.0300.05020.25
5.5.40.0130.05720.05
5.5.30.0130.05320.08
5.5.20.0230.04720.07
5.5.10.0270.04320.07
5.5.00.0070.06720.04