3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array( 0 => "http://s1.img-b.com/build.com/imagebase/resized/330x320/nutoneimages/SVC101-l.jpg" ); $array2 = array( 0 => "http://www.build.com/imagebase/resized/x800/nutoneimages/svc101.jpg"); $result = array_merge($array1, $array2); print_r($result); $array3 = array( "0" => "http://s1.img-b.com/build.com/imagebase/resized/330x320/nutoneimages/SVC101-l.jpg" ); $array4 = array( "0" => "http://www.build.com/imagebase/resized/x800/nutoneimages/svc101.jpg"); $result2 = array_merge($array3, $array4); print_r($result2);

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.00916.38
8.3.50.0090.00619.59
8.3.40.0070.00718.74
8.3.30.0110.00319.03
8.3.20.0050.00220.38
8.3.10.0060.00321.57
8.3.00.0090.00019.25
8.2.180.0070.01118.23
8.2.170.0140.00022.96
8.2.160.0060.00920.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00821.00
8.2.110.0090.00022.08
8.2.100.0090.00318.03
8.2.90.0030.00819.10
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0030.00517.92
8.2.50.0030.00618.07
8.2.40.0040.00418.22
8.2.30.0000.00719.48
8.2.20.0000.00817.68
8.2.10.0050.00218.04
8.2.00.0070.00017.63
8.1.270.0040.00423.69
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00321.84
8.1.230.0070.00419.22
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0050.00517.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0040.00418.46
8.1.160.0030.00521.81
8.1.150.0000.00718.73
8.1.140.0040.00417.41
8.1.130.0030.00317.75
8.1.120.0000.00717.38
8.1.110.0000.00817.24
8.1.100.0070.00017.43
8.1.90.0040.00417.31
8.1.80.0040.00417.30
8.1.70.0030.00617.39
8.1.60.0000.00817.46
8.1.50.0080.00017.46
8.1.40.0040.00417.45
8.1.30.0040.00417.48
8.1.20.0040.00417.55
8.1.10.0040.00417.46
8.1.00.0040.00417.36
8.0.300.0020.00518.77
8.0.290.0070.00016.58
8.0.280.0030.00318.27
8.0.270.0070.00017.06
8.0.260.0000.00617.29
8.0.250.0070.00016.93
8.0.240.0070.00016.85
8.0.230.0000.00716.92
8.0.220.0000.00716.84
8.0.210.0040.00416.71
8.0.200.0060.00016.84
8.0.190.0000.00916.84
8.0.180.0070.00016.86
8.0.170.0000.00716.92
8.0.160.0050.00216.75
8.0.150.0040.00416.83
8.0.140.0050.00316.76
8.0.130.0030.00313.26
8.0.120.0040.00416.68
8.0.110.0000.00716.80
8.0.100.0050.00216.72
8.0.90.0050.00316.71
8.0.80.0030.01416.70
8.0.70.0040.00416.63
8.0.60.0050.00516.77
8.0.50.0000.00716.84
8.0.30.0090.01016.93
8.0.20.0130.00917.40
8.0.10.0050.00317.01
8.0.00.0100.00716.76
7.4.330.0000.00515.01
7.4.320.0060.00016.48
7.4.300.0030.00316.59
7.4.290.0030.00316.52
7.4.280.0040.00416.38
7.4.270.0000.00616.48
7.4.260.0040.00416.51
7.4.250.0070.00016.39
7.4.240.0050.00216.48
7.4.230.0030.00316.63
7.4.220.0140.01816.64
7.4.210.0120.01316.55
7.4.200.0000.00716.38
7.4.160.0130.00316.34
7.4.150.0030.01517.40
7.4.140.0050.01217.86
7.4.130.0080.00916.37
7.4.120.0060.01216.38
7.4.110.0030.01316.43
7.4.100.0060.01216.46
7.4.90.0060.01216.29
7.4.80.0070.01019.39
7.4.70.0060.01116.30
7.4.60.0120.00416.48
7.4.50.0000.00816.44
7.4.40.0030.01416.32
7.4.30.0030.01316.23
7.4.00.0040.01114.75
7.3.330.0050.00013.00
7.3.320.0000.00612.98
7.3.310.0040.00416.09
7.3.300.0030.00316.16
7.3.290.0040.01116.14
7.3.280.0100.00716.15
7.3.270.0170.00017.40
7.3.260.0070.01116.22
7.3.250.0090.00916.33
7.3.240.0110.01116.16
7.3.230.0070.01116.47
7.3.210.0030.01316.41
7.3.200.0160.00619.39
7.3.190.0090.01216.14
7.3.180.0060.01316.31
7.3.170.0160.00616.27
7.3.160.0030.01216.14
7.2.330.0110.00616.40
7.2.320.0100.00616.52
7.2.310.0050.01416.31
7.2.300.0150.00316.51
7.2.290.0100.01316.30
7.2.110.0190.01016.22
7.2.100.0210.00816.56
7.2.90.0190.00316.58
7.2.80.0240.00516.29
7.2.70.0210.01316.90
7.2.60.0270.01016.72
7.2.50.0150.01216.62
7.2.40.0220.00916.53
7.2.30.0220.00216.76
7.2.20.0210.00516.81
7.2.10.0230.00316.53
7.2.00.0160.00617.88
7.1.230.0160.00615.50
7.1.220.0190.00015.73
7.1.210.0220.00615.38
7.1.200.0210.00015.46
7.1.190.0200.01115.81
7.1.180.0200.00015.48
7.1.170.0120.00615.71
7.1.160.0190.00515.69
7.1.150.0220.00415.78
7.1.140.0240.00315.40
7.1.130.0110.01115.52
7.1.120.0140.00415.60
7.1.110.0120.00915.69
7.1.100.0050.01116.84
7.1.90.0160.00715.68
7.1.80.0140.01015.80
7.1.70.0060.00916.35
7.1.60.0100.00917.61
7.1.50.0130.01116.39
7.1.40.0270.00915.79
7.1.30.0190.00515.97
7.1.20.0170.00715.86
7.1.10.0150.00815.83
7.1.00.0050.04218.95
7.0.310.0150.00315.40
7.0.300.0100.01015.34
7.0.290.0270.00314.83
7.0.280.0350.00015.34
7.0.270.0190.00415.31
7.0.260.0180.00015.23
7.0.250.0120.00715.39
7.0.240.0180.00015.09
7.0.230.0300.00615.32
7.0.220.0050.01515.58
7.0.210.0210.00015.56
7.0.200.0080.00816.05
7.0.190.0270.00315.32
7.0.180.0220.00315.48
7.0.170.0470.00315.51
7.0.160.0380.00015.11
7.0.150.0140.00714.95
7.0.140.0080.04118.75
7.0.130.0120.00315.50
7.0.120.0280.00315.44
7.0.110.0110.00815.10
7.0.100.0290.00415.08
7.0.90.0160.00915.04
7.0.80.0270.00315.19
7.0.70.0100.01015.01
7.0.60.0080.02217.51
7.0.50.0120.02416.56
7.0.40.0170.04116.77
7.0.30.0080.02816.71
7.0.20.0170.04416.87
7.0.10.0090.04516.80
7.0.00.0120.02216.90
5.6.380.0120.00714.50
5.6.370.0150.00014.39
5.6.360.0070.00714.29
5.6.350.0200.00714.04
5.6.340.0050.01414.02
5.6.330.0090.01214.14
5.6.320.0210.00014.33
5.6.310.0120.00414.16
5.6.300.0110.00714.06
5.6.290.0000.01414.15
5.6.280.0000.04417.39
5.6.270.0050.01414.29
5.6.260.0170.00514.10
5.6.250.0140.00014.34
5.6.240.0050.01414.38
5.6.230.0060.00914.15
5.6.220.0200.00013.97
5.6.210.0170.04217.33
5.6.200.0100.04016.30
5.6.190.0140.02217.42
5.6.180.0230.03317.49
5.6.170.0200.04417.42
5.6.160.0030.04617.23
5.6.150.0090.03216.31
5.6.140.0090.04816.11
5.6.130.0120.03816.25
5.6.120.0060.03117.54
5.6.110.0100.03617.60
5.6.100.0110.03717.75
5.6.90.0050.05117.70
5.6.80.0140.04317.26
5.6.70.2210.02317.25
5.6.60.0120.00414.24
5.6.50.0150.00514.14
5.6.40.0060.00913.99
5.6.30.0210.00014.04
5.6.20.0190.00314.05
5.6.10.0100.00714.20
5.6.00.0100.00314.20
5.5.380.0100.00312.79
5.5.370.0120.00012.79
5.5.360.0080.00312.79
5.5.350.0080.02516.60
5.5.340.0130.03615.42
5.5.330.0080.02816.46
5.5.320.0130.03416.52
5.5.310.0190.02616.54
5.5.300.0110.01715.40
5.5.290.0120.03315.40
5.5.280.0050.02316.79
5.5.270.0130.03316.71
5.5.260.0150.04016.83
5.5.250.0060.04416.68
5.5.240.0140.03316.52
5.5.230.0070.00412.79
5.5.220.0050.00512.79
5.5.210.0050.00512.79
5.5.200.0040.00912.79
5.5.190.0060.00612.79
5.5.180.0000.01312.79
5.5.170.0080.01213.95
5.5.160.0130.00212.79
5.5.150.0080.00512.79
5.5.140.0000.01312.79
5.5.130.0060.00912.79
5.5.120.0100.00312.79
5.5.110.0150.00012.79
5.5.100.0170.00012.79
5.5.90.0100.01012.79
5.5.80.0060.00612.79
5.5.70.0110.00412.79
5.5.60.0050.00512.79
5.5.50.0040.00612.79
5.5.40.0040.01112.79
5.5.30.0110.00312.79
5.5.20.0100.00312.79
5.5.10.0080.00412.79
5.5.00.0040.01012.79
5.4.450.0400.02716.14
5.4.440.0300.02216.17
5.4.430.0180.02016.09
5.4.420.0120.02616.10
5.4.410.0150.02316.11
5.4.400.0250.02215.92
5.4.390.0250.02015.88
5.4.380.0210.03415.80
5.4.370.0200.03215.79
5.4.360.0280.02815.76
5.4.350.0250.02515.64
5.4.340.0220.03115.76
5.4.330.0210.00012.79
5.4.320.0050.02512.64
5.4.310.0060.02412.63
5.4.300.0060.02612.64
5.4.290.0080.02512.63
5.4.280.0080.02512.58
5.4.270.0060.01912.58
5.4.260.0040.03012.58
5.4.250.0060.02412.58
5.4.240.0080.01812.58
5.4.230.0080.01912.58
5.4.220.0060.02112.58
5.4.210.0060.01912.58
5.4.200.0050.02212.58
5.4.190.0090.01912.58
5.4.180.0070.02012.58
5.4.170.0050.02012.58
5.4.160.0060.02112.58
5.4.150.0090.02012.58
5.4.140.0040.02912.42
5.4.130.0070.02312.41
5.4.120.0090.01612.39
5.4.110.0070.02012.39
5.4.100.0030.02312.39
5.4.90.0080.01912.39
5.4.80.0090.01812.39
5.4.70.0070.01812.39
5.4.60.0050.02012.39
5.4.50.0100.01712.39
5.4.40.0070.02112.38
5.4.30.0070.01812.38
5.4.20.0050.02012.38
5.4.10.0070.02012.38
5.4.00.0080.02312.13
5.3.290.0070.03012.79
5.3.280.0050.02112.75
5.3.270.0030.02512.76
5.3.260.0050.02312.75
5.3.250.0080.02012.76
5.3.240.0100.01812.76
5.3.230.0080.02012.75
5.3.220.0050.02212.74
5.3.210.0060.02312.73
5.3.200.0080.02112.73
5.3.190.0100.01912.73
5.3.180.0070.01912.73
5.3.170.0020.03012.73
5.3.160.0050.02112.73
5.3.150.0080.01912.73
5.3.140.0060.02112.72
5.3.130.0100.01912.72
5.3.120.0110.01812.72
5.3.110.0090.02112.72
5.3.100.0010.02712.45
5.3.90.0050.02212.44
5.3.80.0050.02112.44
5.3.70.0080.02012.44
5.3.60.0050.02212.43
5.3.50.0070.02112.40
5.3.40.0080.01912.40
5.3.30.0110.01512.38
5.3.20.0080.01812.27
5.3.10.0070.02112.25
5.3.00.0040.02312.25
5.2.170.0040.01811.00
5.2.160.0080.01611.00
5.2.150.0050.01911.00
5.2.140.0060.01710.99
5.2.130.0040.01810.97
5.2.120.0050.01710.97
5.2.110.0070.01510.98
5.2.100.0060.01510.98
5.2.90.0050.01710.98
5.2.80.0050.01810.98
5.2.70.0050.01910.97
5.2.60.0050.01910.95
5.2.50.0030.01910.94
5.2.40.0040.02210.92
5.2.30.0060.01710.91
5.2.20.0060.01310.91
5.2.10.0030.01810.86
5.2.00.0080.01410.79
5.1.60.0040.01510.43
5.1.50.0050.01510.42
5.1.40.0060.01410.41
5.1.30.0060.01410.59
5.1.20.0040.01610.60
5.1.10.0070.01310.46
5.1.00.0050.01410.46
5.0.50.0080.0089.70
5.0.40.0030.0139.63
5.0.30.0050.0189.54
5.0.20.0040.0159.53
5.0.10.0040.0139.52
5.0.00.0050.0199.51
4.4.90.0010.0108.78
4.4.80.0050.0098.77
4.4.70.0050.0108.77
4.4.60.0040.0108.77
4.4.50.0050.0128.78
4.4.40.0050.0188.75
4.4.30.0030.0118.78
4.4.20.0050.0108.82
4.4.10.0050.0078.82
4.4.00.0040.0138.77
4.3.110.0020.0128.73
4.3.100.0030.0108.73
4.3.90.0020.0108.71
4.3.80.0020.0168.69
4.3.70.0040.0118.71
4.3.60.0050.0088.71
4.3.50.0050.0088.71
4.3.40.0020.0148.66
4.3.30.0000.0128.04
4.3.20.0020.0108.02
4.3.10.0020.0098.00
4.3.00.0100.01015.67

preferences:
58.63 ms | 400 KiB | 5 Q