3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = Array( Array ( 'd1' => 'P', 'd2' => '', 'd3' => '' ), Array ( 'd1' => '', 'd2' => 'A', 'd3' => 'P' ) ); $result = call_user_func_array("array_merge", $input); var_export($result);

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.0030.01318.43
8.3.50.0110.00418.05
8.3.40.0180.00018.64
8.3.30.0030.01218.73
8.3.20.0040.00419.05
8.3.10.0030.00623.70
8.3.00.0040.00420.48
8.2.180.0040.01116.32
8.2.170.0150.00022.96
8.2.160.0130.00721.93
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00419.77
8.2.120.0080.00026.35
8.2.110.0060.00321.07
8.2.100.0110.00717.78
8.2.90.0040.00419.64
8.2.80.0080.00017.97
8.2.70.0040.00417.93
8.2.60.0040.00418.03
8.2.50.0050.00518.10
8.2.40.0070.00019.33
8.2.30.0070.00019.24
8.2.20.0030.00618.04
8.2.10.0070.00018.04
8.2.00.0060.00317.64
8.1.280.0070.00725.92
8.1.270.0000.00818.90
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0060.00323.96
8.1.230.0040.00821.00
8.1.220.0050.00317.74
8.1.210.0040.00418.91
8.1.200.0000.00917.23
8.1.190.0050.00317.30
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0000.00718.73
8.1.150.0000.00818.87
8.1.140.0040.00422.13
8.1.130.0070.00020.30
8.1.120.0000.00717.37
8.1.110.0040.00417.37
8.1.100.0000.00717.39
8.1.90.0000.00717.39
8.1.80.0030.00617.27
8.1.70.0070.00017.29
8.1.60.0000.00817.47
8.1.50.0040.00417.35
8.1.40.0090.00017.43
8.1.30.0060.00317.57
8.1.20.0050.00317.47
8.1.10.0000.00717.35
8.1.00.0000.00717.31
8.0.300.0070.00019.72
8.0.290.0000.00916.63
8.0.280.0040.00418.44
8.0.270.0070.00017.09
8.0.260.0030.00318.29
8.0.250.0070.00016.86
8.0.240.0040.00416.86
8.0.230.0000.00716.90
8.0.220.0000.00716.86
8.0.210.0070.00016.84
8.0.200.0070.00016.77
8.0.190.0040.00416.77
8.0.180.0040.00416.85
8.0.170.0030.00516.84
8.0.160.0030.00316.82
8.0.150.0070.00016.59
8.0.140.0040.00416.65
8.0.130.0000.00513.29
8.0.120.0000.00816.81
8.0.110.0000.00716.79
8.0.100.0070.00016.88
8.0.90.0070.00016.86
8.0.80.0110.00916.79
8.0.70.0030.00516.77
8.0.60.0050.00316.81
8.0.50.0040.00416.77
8.0.30.0130.00716.96
8.0.20.0150.00317.40
8.0.10.0000.00816.76
8.0.00.0110.01016.65
7.4.330.0020.00215.55
7.4.320.0030.00316.43
7.4.300.0060.00016.44
7.4.290.0030.00316.39
7.4.280.0030.00516.55
7.4.270.0040.00416.33
7.4.260.0040.00416.52
7.4.250.0030.00316.42
7.4.240.0040.00416.38
7.4.230.0030.00316.42
7.4.220.0050.00316.51
7.4.210.0070.00816.49
7.4.200.0040.00416.49
7.4.160.0100.00516.35
7.4.140.0120.00517.86
7.4.130.0080.00816.45
7.4.120.0110.00916.41
7.4.110.0090.00916.59
7.4.100.0000.01616.42
7.4.90.0110.00616.30
7.4.80.0160.00419.39
7.4.70.0090.01316.45
7.4.60.0060.00916.46
7.4.50.0110.00716.52
7.4.40.0030.01316.52
7.4.00.0110.00414.78
7.3.330.0000.00512.87
7.3.320.0030.00312.98
7.3.310.0070.00016.00
7.3.300.0030.00316.03
7.3.290.0000.00716.17
7.3.280.0070.01116.16
7.3.260.0100.00916.30
7.3.240.0120.00716.17
7.3.230.0070.01016.13
7.3.210.0030.01416.53
7.3.200.0100.00716.05
7.3.190.0100.00716.44
7.3.180.0060.01016.30
7.3.170.0140.00716.34
7.3.160.0100.00716.38
7.3.10.0110.00416.50
7.3.00.0060.00616.52
7.2.330.0110.00716.47
7.2.320.0170.00416.22
7.2.310.0100.01316.23
7.2.300.0090.00616.61
7.2.290.0120.00716.39
7.2.130.0080.00816.80
7.2.120.0030.00616.88
7.2.110.0080.00616.49
7.2.100.0070.00516.42
7.2.90.0070.00616.61
7.2.80.0080.00716.47
7.2.70.0080.00616.77
7.2.60.0080.00516.71
7.2.50.0090.00516.74
7.2.40.0090.00516.86
7.2.30.0100.00416.70
7.2.20.0080.00616.76
7.2.10.0070.00816.86
7.2.00.0050.00616.67
7.1.250.0040.01115.45
7.1.230.0070.00615.66
7.1.220.0060.01015.60
7.1.210.0090.00415.66
7.1.200.0050.00715.71
7.1.190.0060.00615.76
7.1.180.0050.00915.59
7.1.170.0120.00315.77
7.1.160.0090.00315.79
7.1.150.0080.00315.67
7.1.140.0060.00615.68
7.1.130.0090.00515.72
7.1.120.0060.00815.71
7.1.110.0060.00915.81
7.1.100.0070.00715.64
7.1.90.0110.00315.78
7.1.80.0050.00815.51
7.1.70.0070.00515.73
7.1.60.0190.01133.45
7.1.50.0200.01233.66
7.1.40.0200.01033.52
7.1.30.0210.01133.39
7.1.20.0230.00833.68
7.1.10.0060.00715.58
7.1.00.0070.00515.62
5.6.380.0080.00414.28

preferences:
32.16 ms | 400 KiB | 5 Q