3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mass = array(1,1,2,45345,6345214,1231231235,53423423); $mass2 = array(1,1,2,45345,6345214,1231231235,53423423); $mass3 = array_merge($mass, $mass2); print_r($mass3);

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.0000.01418.31
8.3.50.0140.00521.21
8.3.40.0150.00318.37
8.3.30.0060.00918.89
8.3.20.0040.00420.21
8.3.10.0060.00321.95
8.3.00.0080.00022.34
8.2.180.0110.00416.50
8.2.170.0040.01122.96
8.2.160.0070.00719.07
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0100.00326.16
8.2.120.0040.00419.23
8.2.110.0030.00721.00
8.2.100.0080.00317.72
8.2.90.0050.00318.86
8.2.80.0000.01117.97
8.2.70.0030.00617.50
8.2.60.0000.00817.80
8.2.50.0030.00518.10
8.2.40.0070.00018.09
8.2.30.0040.00417.86
8.2.20.0000.00817.46
8.2.10.0000.00817.54
8.2.00.0000.00817.69
8.1.280.0100.01025.92
8.1.270.0080.00022.14
8.1.260.0030.00526.35
8.1.250.0060.00328.09
8.1.240.0060.00322.68
8.1.230.0040.00817.70
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0000.00817.22
8.1.180.0080.00018.10
8.1.170.0030.00618.52
8.1.160.0050.00221.93
8.1.150.0040.00418.56
8.1.140.0040.00417.29
8.1.130.0030.00317.71
8.1.120.0000.00717.29
8.1.110.0000.00817.34
8.1.100.0030.00417.41
8.1.90.0040.00417.30
8.1.80.0040.00417.37
8.1.70.0000.00717.38
8.1.60.0040.00417.54
8.1.50.0000.00717.33
8.1.40.0000.00817.39
8.1.30.0000.00717.59
8.1.20.0060.00317.57
8.1.10.0070.00017.44
8.1.00.0030.00617.38
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0040.00418.44
8.0.270.0000.00717.19
8.0.260.0060.00016.73
8.0.250.0000.00716.91
8.0.240.0000.00816.91
8.0.230.0070.00016.91
8.0.220.0030.00316.83
8.0.210.0030.00316.82
8.0.200.0000.00616.90
8.0.190.0070.00016.89
8.0.180.0050.00316.82
8.0.170.0080.00016.82
8.0.160.0070.00016.85
8.0.150.0040.00416.65
8.0.140.0000.00716.80
8.0.130.0000.00613.24
8.0.120.0040.00416.68
8.0.110.0040.00416.74
8.0.100.0000.00716.70
8.0.90.0000.00816.88
8.0.80.0100.00716.78
8.0.70.0040.00416.86
8.0.60.0070.00016.64
8.0.50.0070.00016.73
8.0.30.0090.00917.04
8.0.20.0140.00817.40
8.0.10.0000.00716.96
8.0.00.0070.01416.60
7.4.330.0030.00315.03
7.4.320.0000.00616.48
7.4.300.0060.00016.51
7.4.290.0000.00816.33
7.4.280.0060.00316.55
7.4.270.0030.00516.44
7.4.260.0000.00716.50
7.4.250.0040.00416.50
7.4.240.0040.00416.48
7.4.230.0030.00316.46
7.4.220.0070.01116.46
7.4.210.0090.00816.54
7.4.200.0030.00316.33
7.4.190.0040.00416.39
7.4.160.0160.00016.45
7.4.150.0060.01217.40
7.4.140.0110.01017.86
7.4.130.0130.00516.42
7.4.120.0090.00816.29
7.4.110.0160.00016.32
7.4.100.0140.00416.34
7.4.90.0070.01016.44
7.4.80.0060.01119.39
7.4.70.0120.00616.34
7.4.60.0130.00316.43
7.4.50.0030.00316.39
7.4.40.0110.00322.77
7.4.30.0070.01016.52
7.4.00.0090.00614.59
7.3.330.0000.00512.87
7.3.320.0020.00312.79
7.3.310.0070.00016.12
7.3.300.0030.00316.05
7.3.290.0030.01316.11
7.3.280.0110.00416.15
7.3.270.0060.01217.40
7.3.260.0160.00816.45
7.3.250.0050.01216.26
7.3.240.0150.01016.32
7.3.230.0120.00916.39
7.3.210.0030.01316.36
7.3.200.0070.01019.39
7.3.190.0140.00816.45
7.3.180.0130.00316.11
7.3.170.0070.00916.27
7.3.160.0040.01216.40
7.3.120.0080.00614.90
7.3.110.0100.00614.44
7.3.100.0070.00714.70
7.3.90.0070.00714.79
7.3.80.0100.00314.76
7.3.70.0070.00714.52
7.3.60.0090.00614.52
7.3.50.0060.00914.51
7.3.40.0100.00714.59
7.3.30.0090.00614.62
7.3.20.0070.00716.66
7.3.10.0070.00616.22
7.3.00.0090.00616.53
7.2.330.0080.01216.66
7.2.320.0100.00716.56
7.2.310.0060.01316.20
7.2.300.0030.01616.55
7.2.290.0160.00016.57
7.2.240.0140.00315.09
7.2.230.0100.00314.68
7.2.220.0070.01014.90
7.2.210.0030.01014.80
7.2.200.0060.00914.86
7.2.190.0070.00714.84
7.2.180.0030.01314.79
7.2.170.0040.01114.89
7.2.160.0060.01214.63
7.2.150.0070.01016.61
7.2.140.0090.00616.87
7.2.130.0090.00416.84
7.2.120.0060.00716.79
7.2.110.0030.01216.82
7.2.100.0070.00616.62
7.2.90.0080.00716.81
7.2.80.0110.00516.55
7.2.70.0050.00816.88
7.2.60.0090.00616.74
7.2.50.0070.00316.90
7.2.40.0090.00816.91
7.2.30.0060.00716.97
7.2.20.0050.00916.82
7.2.10.0060.00716.68
7.2.00.0050.00816.65
7.1.330.0100.00615.35
7.1.320.0090.00615.89
7.1.310.0040.00815.99
7.1.300.0040.00815.67
7.1.290.0000.01715.84
7.1.280.0060.00915.56
7.1.270.0070.00715.66
7.1.260.0090.00615.69
7.1.250.0060.00615.72
7.1.70.0000.00916.80
7.1.60.0070.01519.82
7.1.50.0100.01416.90
7.1.00.0030.07722.53
7.0.200.0000.01016.66
7.0.140.0070.07322.09
7.0.60.0100.07719.97
7.0.50.0100.07717.95
7.0.40.0070.04720.05
7.0.30.0430.07020.30
7.0.20.0270.07720.10
7.0.10.0200.07720.22
7.0.00.0130.07720.30
5.6.280.0000.10021.03
5.6.210.0170.04320.55
5.6.200.0030.04018.16
5.6.190.0000.05720.51
5.6.180.3100.04720.51
5.6.170.0200.07720.43
5.6.160.0030.09320.54
5.6.150.0130.07018.14
5.6.140.0170.04018.18
5.6.130.0030.04018.23
5.6.120.0030.06021.14
5.6.110.0000.04721.09
5.6.100.0070.04720.99
5.6.90.0000.04320.96
5.6.80.0030.06720.25
5.6.70.0270.07320.37
5.5.350.0030.06320.41
5.5.340.0070.07017.99
5.5.330.0130.08020.21
5.5.320.0200.03720.26
5.5.310.0330.04320.34
5.5.300.0030.04718.08
5.5.290.0030.04017.98
5.5.280.0030.04020.71
5.5.270.0170.07020.72
5.5.260.0100.08320.76
5.5.250.0130.05720.61
5.5.240.0070.06720.28
5.4.450.0670.05719.64
5.4.440.0630.06019.45
5.4.430.0100.05319.47
5.4.420.0130.05019.37
5.4.410.0230.04019.52
5.4.400.0830.00018.91
5.4.390.0830.00018.50
5.4.380.0270.05318.76
5.4.370.0770.05018.46
5.4.360.0230.04318.69
5.4.350.0230.06318.62
5.4.340.0200.05718.71
5.4.320.0080.03512.48
5.4.310.0070.04812.48
5.4.300.0130.04312.48
5.4.290.0050.03812.48
5.4.280.0110.05112.38
5.4.270.0080.04412.38
5.4.260.0130.04318.63
5.4.250.0100.05018.73
5.4.240.0000.06018.91
5.4.230.0100.05018.95
5.4.220.0200.05318.99
5.4.210.0130.04718.93
5.4.200.0070.05318.92
5.4.190.0130.05018.93
5.4.180.0130.04318.92
5.4.170.0170.05018.87
5.4.160.0170.04018.88
5.4.150.0070.08018.71
5.4.140.0070.06016.53
5.4.130.0070.05316.38
5.4.120.0100.07016.44
5.4.110.0070.05316.65
5.4.100.0130.04316.43
5.4.90.0030.07716.55
5.4.80.0130.04316.40
5.4.70.0070.07716.45
5.4.60.0070.04716.27
5.4.50.0070.05316.37
5.4.40.0030.06316.50
5.4.30.0230.05716.42
5.4.20.0070.07316.27
5.4.10.0070.05716.23
5.4.00.0030.05315.78
5.3.290.0050.05212.80
5.3.280.0000.05314.67
5.3.270.0000.06014.60
5.3.260.0200.04014.59
5.3.250.0130.04714.67
5.3.240.0070.05014.66
5.3.230.0100.05014.50
5.3.220.0100.06714.72
5.3.210.0070.06014.53
5.3.200.0070.05314.66
5.3.190.0170.04314.72
5.3.180.0130.05014.52
5.3.170.0070.05314.38
5.3.160.0100.06314.54
5.3.150.0000.06314.54
5.3.140.0000.06314.63
5.3.130.0100.05014.70
5.3.120.0100.06014.51
5.3.110.0100.05014.51
5.3.100.0000.06014.01
5.3.90.0030.05314.09
5.3.80.0100.05014.11
5.3.70.0030.05314.08
5.3.60.0100.07014.17
5.3.50.0100.05014.11
5.3.40.0070.05014.02
5.3.30.0000.06313.88
5.3.20.0070.05313.59
5.3.10.0100.04313.74
5.3.00.0100.06313.65
5.2.170.0070.04011.21
5.2.160.0000.04711.14
5.2.150.0130.05011.31
5.2.140.0130.04011.13
5.2.130.0030.04011.18
5.2.120.0070.05711.00
5.2.110.0070.05711.09
5.2.100.0070.03711.10
5.2.90.0130.03311.31
5.2.80.0030.04711.08
5.2.70.0000.05011.14
5.2.60.0070.04711.11
5.2.50.0100.05311.00
5.2.40.0100.03310.97
5.2.30.0030.04710.87
5.2.20.0030.04010.93
5.2.10.0030.04010.84
5.2.00.0000.04710.79
5.1.60.0070.03010.08
5.1.50.0100.0309.92
5.1.40.0070.05010.04
5.1.30.0100.03010.41
5.1.20.0000.04010.35
5.1.10.0000.04010.04
5.1.00.0130.03310.09
5.0.50.0030.0308.49
5.0.40.0030.0238.43
5.0.30.0070.0408.28
5.0.20.0030.0378.27
5.0.10.0000.0308.00
5.0.00.0070.0378.34
4.4.90.0070.0176.65
4.4.80.0000.0376.65
4.4.70.0070.0236.65
4.4.60.0100.0236.65
4.4.50.0000.0236.65
4.4.40.0100.0376.65
4.4.30.0000.0276.65
4.4.20.0030.0206.65
4.4.10.0000.0236.65
4.4.00.0000.0336.65
4.3.110.0000.0336.65
4.3.100.0000.0236.65
4.3.90.0000.0236.65
4.3.80.0000.0336.65
4.3.70.0030.0206.65
4.3.60.0030.0236.65
4.3.50.0000.0236.65
4.3.40.0000.0376.65
4.3.30.0030.0206.65
4.3.20.0000.0306.65
4.3.10.0030.0206.65
4.3.00.0100.0209.21

preferences:
44.52 ms | 401 KiB | 5 Q