3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $b = array( 'index.php' => array( 'relation' => "Start", 'relType' => "rel", 'attribs' => array(), ), 'foo' => array('bar') ); $c = array( 'index.php' => array( 'relation' => "Start", 'relType' => "rel", 'attribs' => array(), ), 'foo' => array('bar') ); $u = array_unique(array_merge($b,$c), SORT_REGULAR); //var_dump($u);

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.4.20.0200.00019.20
8.4.10.0030.00622.18
8.3.150.0130.00617.00
8.3.140.0040.00416.59
8.3.130.0060.00318.47
8.3.120.0040.00420.48
8.3.110.0000.00816.50
8.3.100.0090.00024.06
8.3.90.0040.01126.77
8.3.80.0040.00718.30
8.3.70.0090.00616.50
8.3.60.0130.00316.50
8.3.50.0150.00721.86
8.3.40.0110.00418.40
8.3.30.0070.00718.51
8.3.20.0040.00421.92
8.3.10.0040.00421.73
8.3.00.0040.00423.48
8.2.270.0060.01316.45
8.2.260.0080.00018.98
8.2.250.0050.00316.60
8.2.240.0030.00619.09
8.2.230.0040.00420.94
8.2.220.0030.00537.54
8.2.210.0070.00726.77
8.2.200.0050.00518.16
8.2.190.0130.00318.15
8.2.180.0070.00716.75
8.2.170.0070.01022.96
8.2.160.0060.00820.52
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00819.41
8.2.120.0000.00726.35
8.2.110.0030.00621.08
8.2.100.0090.00317.91
8.2.90.0040.00418.09
8.2.80.0000.00818.03
8.2.70.0080.00017.25
8.2.60.0030.00517.50
8.2.50.0060.00317.55
8.2.40.0040.00419.23
8.2.30.0000.00720.90
8.2.20.0040.00417.91
8.2.10.0000.00718.05
8.2.00.0050.00317.58
8.1.310.0110.00616.43
8.1.300.0120.00316.05
8.1.290.0030.00718.88
8.1.280.0090.01225.92
8.1.270.0070.00723.81
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0100.00024.01
8.1.230.0040.00720.83
8.1.220.0080.00017.78
8.1.210.0040.00418.77
8.1.200.0090.00017.13
8.1.190.0050.00317.35
8.1.180.0060.00318.10
8.1.170.0030.00517.62
8.1.160.0030.00322.13
8.1.150.0040.00418.86
8.1.140.0050.00219.41
8.1.130.0000.00717.59
8.1.120.0040.00417.22
8.1.110.0000.00817.41
8.1.100.0030.00517.37
8.1.90.0080.00017.29
8.1.80.0000.00717.29
8.1.70.0000.00717.36
8.1.60.0040.00417.52
8.1.50.0050.00317.35
8.1.40.0040.00417.33
8.1.30.0000.00817.61
8.1.20.0050.00517.63
8.1.10.0080.00017.45
8.1.00.0000.00717.22
8.0.300.0070.00019.89
8.0.290.0040.00416.63
8.0.280.0030.00318.43
8.0.270.0070.00017.10
8.0.260.0030.00317.07
8.0.250.0040.00416.89
8.0.240.0070.00016.92
8.0.230.0070.00016.88
8.0.220.0000.00716.80
8.0.210.0000.00716.70
8.0.200.0030.00316.87
8.0.190.0030.00316.91
8.0.180.0070.00316.88
8.0.170.0050.00216.75
8.0.160.0000.00816.73
8.0.150.0000.00716.82
8.0.140.0030.00516.78
8.0.130.0050.00013.24
8.0.120.0030.00616.73
8.0.110.0040.00416.87
8.0.100.0030.00316.81
8.0.90.0000.00716.71
8.0.80.0090.00616.86
8.0.70.0040.00416.80
8.0.60.0050.00216.84
8.0.50.0040.00416.88
8.0.30.0070.00917.08
8.0.20.0100.00817.40
8.0.10.0000.00716.90
8.0.00.0140.01016.66
7.4.330.0000.00515.55
7.4.320.0030.00316.42
7.4.300.0000.00616.57
7.4.290.0030.00316.49
7.4.280.0000.00716.46
7.4.270.0080.00016.41
7.4.260.0090.00016.34
7.4.250.0040.00416.49
7.4.240.0040.00416.51
7.4.230.0030.00416.41
7.4.220.0070.01116.52
7.4.210.0030.01316.43
7.4.200.0030.00316.31
7.4.160.0110.01016.42
7.4.150.0180.00017.40
7.4.140.0080.01317.86
7.4.130.0110.00616.49
7.4.120.0120.00516.43
7.4.110.0100.01316.49
7.4.100.0100.00716.48
7.4.90.0100.00716.45
7.4.80.0080.01219.39
7.4.70.0100.00716.40
7.4.60.0070.01016.24
7.4.50.0030.01016.38
7.4.40.0170.00016.48
7.4.30.0140.00316.34
7.4.00.0120.00614.71
7.3.330.0000.00513.02
7.3.320.0050.00012.98
7.3.310.0050.00215.97
7.3.300.0000.00816.12
7.3.290.0110.00616.09
7.3.280.0110.01016.14
7.3.270.0080.00817.40
7.3.260.0100.00716.23
7.3.250.0090.00916.20
7.3.240.0110.00716.35
7.3.230.0020.01316.39
7.3.210.0060.01216.10
7.3.200.0130.00716.15
7.3.190.0080.01116.25
7.3.180.0040.01516.14
7.3.170.0120.01116.09
7.3.160.0100.00716.54
7.3.120.0070.01114.90
7.3.110.0090.01214.68
7.3.100.0100.00714.86
7.3.90.0080.00814.68
7.3.80.0100.00614.64
7.3.70.0070.00714.69
7.3.60.0000.01414.57
7.3.50.0060.00314.72
7.3.40.0030.00914.56
7.3.30.0090.00614.58
7.3.20.0060.00916.28
7.3.10.0030.01016.50
7.3.00.0040.01216.42
7.2.330.0110.01216.51
7.2.320.0030.01216.62
7.2.310.0100.00616.65
7.2.300.0130.01116.38
7.2.290.0040.01216.52
7.2.250.0140.00715.10
7.2.240.0060.01514.80
7.2.230.0040.01214.83
7.2.220.0070.00315.00
7.2.210.0040.01115.12
7.2.200.0030.00614.84
7.2.190.0040.01114.87
7.2.180.0000.01514.57
7.2.170.0030.00714.83
7.2.60.0000.01616.83
7.2.00.0070.00419.10
7.1.330.0070.00715.86
7.1.320.0110.00715.70
7.1.310.0070.00715.76
7.1.300.0060.00615.86
7.1.290.0070.00715.97
7.1.280.0030.01215.48
7.1.270.0060.00615.72
7.1.260.0030.00915.72
7.1.200.0080.00015.74
7.1.70.0040.00416.80
7.1.60.0030.00917.19
7.1.50.0040.00716.57
7.1.40.0000.01216.55
7.1.30.0070.00716.62
7.1.20.0130.00616.52
7.1.10.0000.01016.64
7.1.00.0070.01016.62
7.0.200.0000.01016.70
7.0.190.0000.01016.76
7.0.180.0030.00616.27
7.0.170.0050.00516.33
7.0.160.0040.00716.22
7.0.150.0030.01016.19
7.0.140.0050.00516.26
7.0.130.0060.00316.62
7.0.120.0000.00716.42
7.0.110.0040.00416.15
7.0.100.0050.00316.27
7.0.90.0040.00416.51
7.0.80.0000.00816.59
7.0.70.0000.00816.35
7.0.60.0030.00516.27
7.0.50.0000.00916.25
7.0.40.0000.00915.42
7.0.30.0000.00915.42
7.0.20.0000.00815.42
7.0.10.0000.00715.42
7.0.00.0040.00415.42
5.6.300.0000.05520.90
5.6.290.0040.04620.85
5.6.280.0030.04621.06
5.6.270.0070.04020.90
5.6.260.0000.05020.86
5.6.250.0070.04420.89
5.6.240.0030.04720.82
5.6.230.0070.05620.95
5.6.220.0000.05120.87
5.6.210.0140.04721.04
5.6.200.0060.05120.92
5.6.190.0000.05021.02
5.6.180.0030.04121.03
5.6.170.0070.04020.82
5.6.160.0160.04520.92
5.6.150.0100.03620.82
5.6.140.0000.05220.92
5.6.130.0100.04420.98
5.6.120.0030.04720.81
5.6.110.0070.06021.01
5.6.100.0130.04220.80
5.6.90.0000.04620.97
5.6.80.0030.04320.30
5.6.70.0030.04520.42
5.6.60.0060.04520.21
5.6.50.0070.03920.37
5.6.40.0030.04820.28
5.6.30.0090.03820.28
5.6.20.0040.04620.04
5.6.10.0030.04320.28
5.6.00.0230.05220.36
5.5.380.0070.05017.46
5.5.370.0060.03917.51
5.5.360.0030.04517.45
5.5.350.0030.04317.53
5.5.340.0000.05118.03
5.5.330.0030.04418.07
5.5.320.0070.04318.04
5.5.310.0030.04417.84
5.5.300.0000.04518.02
5.5.290.0070.04617.84
5.5.280.0030.04917.86
5.5.270.0000.04818.02
5.5.260.0030.04417.99
5.5.250.0000.04817.55
5.5.240.0030.03817.22
5.5.230.0000.04617.41
5.5.220.0060.04117.12
5.5.210.0040.04117.40
5.5.200.0100.03217.30
5.5.190.0000.04617.42
5.5.180.0060.05117.21
5.5.160.0030.04517.37
5.5.150.0120.03017.30
5.5.140.0030.03817.38
5.5.130.0070.03417.41
5.5.120.0060.03917.36
5.5.110.0030.04617.31
5.5.100.0030.05217.28
5.5.90.0100.05517.31
5.5.80.0030.04217.09
5.5.70.0030.04117.32
5.5.60.0070.03317.33
5.5.50.0030.03817.30
5.5.40.0060.03317.36
5.5.30.0000.04716.94
5.5.20.0070.03916.98
5.5.10.0030.03817.27
5.5.00.0030.04917.29
5.4.450.0030.05119.14
5.4.440.0030.04019.11
5.4.430.0030.04419.27
5.4.420.0060.03819.36
5.4.410.0060.03819.12
5.4.400.0030.04718.96
5.4.390.0130.02919.04
5.4.380.0200.03418.92
5.4.370.0000.04118.90
5.4.360.0000.04918.91
5.4.350.0070.03718.96
5.4.340.0040.04618.99
5.4.320.0030.04118.90
5.4.310.0000.05519.00
5.4.300.0100.04418.86
5.4.290.0070.03519.03
5.4.280.0030.03818.91
5.4.270.0060.03619.04
5.4.260.0070.03718.95
5.4.250.0000.04319.03
5.4.240.0000.04418.96
5.4.230.0000.05219.05
5.4.220.0030.05118.77
5.4.210.0070.03518.95
5.4.200.0060.03618.86
5.4.190.0100.05319.00
5.4.180.0030.04418.95
5.4.170.0030.03818.77
5.4.160.0070.04318.95
5.4.150.0070.04318.89
5.4.140.0090.03116.50
5.4.130.0060.04116.59
5.4.120.0000.03716.60
5.4.110.0000.04316.26
5.4.100.0030.03516.47
5.4.90.0070.03716.58
5.4.80.0090.03316.57
5.4.70.0000.04316.54
5.4.60.0090.03116.50
5.4.50.0030.03816.56
5.4.40.0000.04516.49
5.4.30.0000.04216.44
5.4.20.0000.04416.53
5.4.10.0030.03816.54
5.4.00.0030.03415.96
5.3.290.0030.03715.42
5.3.280.0090.03515.42
5.3.270.0030.04815.42
5.3.260.0000.04615.42
5.3.250.0060.03515.42
5.3.240.0040.03515.42
5.3.230.0090.03715.42
5.3.220.0030.03715.42
5.3.210.0070.04215.42
5.3.200.0040.03915.42
5.3.190.0030.04515.42
5.3.180.0000.04815.42
5.3.170.0000.03815.42
5.3.160.0030.03715.42
5.3.150.0070.03515.42
5.3.140.0040.04715.42
5.3.130.0070.04315.42
5.3.120.0000.05215.42
5.3.110.0140.04415.42
5.3.100.0060.03415.42
5.3.90.0030.03815.42
5.3.80.0030.03315.42
5.3.70.0100.03415.42
5.3.60.0030.03915.42
5.3.50.0000.04015.42
5.3.40.0030.03815.42
5.3.30.0070.03515.42
5.3.20.0000.04015.42
5.3.10.0000.04415.42
5.3.00.0060.03415.42
5.2.170.0000.03715.42
5.2.160.0000.03115.42
5.2.150.0090.03115.42
5.2.140.0000.03615.42
5.2.130.0030.02815.42
5.2.120.0070.03115.42
5.2.110.0000.03415.42
5.2.100.0030.02715.42
5.2.90.0000.03415.42
5.2.80.0060.02515.42
5.2.70.0030.04015.42
5.2.60.0000.03315.42
5.2.50.0030.03115.42
5.2.40.0030.03215.42
5.2.30.0070.03115.42
5.2.20.0130.02215.42
5.2.10.0000.03715.42
5.2.00.0000.03015.42
5.1.60.0030.02415.42
5.1.50.0030.02415.42
5.1.40.0030.02815.42
5.1.30.0000.03415.42
5.1.20.0060.03115.42
5.1.10.0000.03115.42
5.1.00.0000.02615.42
5.0.50.0030.01915.42
5.0.40.0030.01715.42
5.0.30.0030.02815.42
5.0.20.0030.02215.42
5.0.10.0060.01915.42
5.0.00.0030.03215.42
4.4.90.0040.01915.42
4.4.80.0000.02315.42
4.4.70.0120.00915.42
4.4.60.0000.02015.42
4.4.50.0000.01715.42
4.4.40.0030.02715.42
4.4.30.0040.01415.42
4.4.20.0100.01015.42
4.4.10.0040.01415.42
4.4.00.0000.03215.42
4.3.110.0000.01615.42
4.3.100.0040.01515.42
4.3.90.0060.01115.42
4.3.80.0030.02115.42
4.3.70.0000.01615.42
4.3.60.0000.01615.42
4.3.50.0070.01515.42
4.3.40.0030.02115.42
4.3.30.0000.02015.42
4.3.20.0030.01915.42
4.3.10.0000.01715.42
4.3.00.0030.01715.42

preferences:
31.62 ms | 403 KiB | 5 Q