3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ( 0 => array ( 'name' => 'test', 'address_1' => 'test', 'address_2' => '', 'address_3' => '', 'address_4' => '', 'postcode' => 'test', 'country' => '1', 'tel' => '123566', ), 1 => array ( 'name' => 'test', 'address_1' => 'test', 'address_2' => '', 'address_3' => '', 'address_4' => '', 'postcode' => 'test', 'country' => '1', 'tel' => '123566', ), 2 => array ( 'name' => 'test', 'address_1' => 'test', 'address_2' => '', 'address_3' => '', 'address_4' => '', 'postcode' => 'test', 'country' => '1', 'tel' => '123566', ), 3 => array ( 'name' => 'test', 'address_1' => 'test', 'address_2' => '', 'address_3' => '', 'address_4' => '', 'postcode' => 'test', 'country' => '1', 'tel' => '123566', ), ); // $acount = array_count_values($a); array_diff($a[0], $a[1]); print_r(array_keys($a));

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.40.0150.00018.58
8.3.30.0070.00718.88
8.3.20.0050.00320.20
8.3.10.0080.00020.38
8.3.00.0080.00019.13
8.2.170.0100.00622.96
8.2.160.0140.00720.13
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00320.99
8.2.110.0060.00320.53
8.2.100.0080.00318.09
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0030.00617.61
8.2.60.0000.00817.80
8.2.50.0050.00318.07
8.2.40.0030.00618.03
8.2.30.0000.00719.36
8.2.20.0000.00817.67
8.2.10.0030.00617.98
8.2.00.0040.00417.72
8.1.270.0060.00322.20
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.82
8.1.230.0080.00319.01
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00417.22
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0040.00418.61
8.1.160.0000.00722.01
8.1.150.0040.00418.83
8.1.140.0000.00717.38
8.1.130.0030.00317.88
8.1.120.0000.00717.41
8.1.110.0000.00917.46
8.1.100.0050.00217.33
8.1.90.0000.00717.43
8.1.80.0040.00317.41
8.1.70.0070.00017.29
8.1.60.0030.00617.49
8.1.50.0060.00317.39
8.1.40.0040.00417.30
8.1.30.0030.00617.56
8.1.20.0070.00017.50
8.1.10.0050.00317.44
8.1.00.0000.00817.38
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.48
8.0.270.0000.00717.19
8.0.260.0030.00317.24
8.0.250.0030.00316.90
8.0.240.0000.00716.91
8.0.230.0030.00316.82
8.0.220.0000.00716.87
8.0.210.0070.00016.82
8.0.200.0030.00316.88
8.0.190.0000.00716.88
8.0.180.0030.00316.88
8.0.170.0000.00816.85
8.0.160.0070.00016.86
8.0.150.0040.00416.79
8.0.140.0070.00016.65
8.0.130.0000.00613.29
8.0.120.0040.00416.80
8.0.110.0040.00416.82
8.0.100.0030.00316.77
8.0.90.0070.00016.77
8.0.80.0160.00316.79
8.0.70.0040.00416.62
8.0.60.0040.00416.68
8.0.50.0040.00416.88
8.0.30.0110.00816.97
8.0.20.0110.01117.40
8.0.10.0040.00416.80
8.0.00.0130.00516.57
7.4.330.0000.00615.05
7.4.320.0040.00416.48
7.4.300.0000.00716.52
7.4.290.0030.00316.44
7.4.280.0040.00416.49
7.4.270.0030.00316.55
7.4.260.0000.00716.43
7.4.250.0000.00716.43
7.4.240.0020.00516.54
7.4.230.0030.00316.35
7.4.220.0040.01516.31
7.4.210.0030.01016.39
7.4.200.0030.00316.19
7.4.160.0140.00616.20
7.4.150.0130.01017.40
7.4.140.0130.01317.86
7.4.130.0090.00916.34
7.4.120.0120.00716.35
7.4.110.0070.01016.39
7.4.100.0070.01016.51
7.4.90.0060.01216.40
7.4.80.0110.00716.51
7.4.70.0030.01216.31
7.4.60.0100.00616.48
7.4.50.0040.00416.41
7.4.40.0130.00316.25
7.4.30.0100.01016.40
7.4.10.0090.00914.96
7.4.00.0080.00914.82
7.3.330.0000.00512.96
7.3.320.0030.00312.98
7.3.310.0000.00816.29
7.3.300.0000.00616.11
7.3.290.0080.00816.22
7.3.280.0050.01216.20
7.3.270.0170.00017.40
7.3.260.0030.01416.41
7.3.250.0090.01416.44
7.3.240.0000.01616.08
7.3.230.0060.01116.45
7.3.210.0170.00316.04
7.3.200.0090.00819.39
7.3.190.0130.00616.21
7.3.180.0030.01316.20
7.3.170.0060.00916.27
7.3.160.0060.00916.32
7.3.130.0080.00814.40
7.3.120.0090.01014.67
7.3.110.0100.01014.80
7.3.100.0050.00914.68
7.3.90.0060.00614.74
7.3.80.0000.01614.88
7.3.70.0080.00514.80
7.3.60.0050.00914.72
7.3.50.0070.00814.71
7.3.40.0070.00514.57
7.3.30.0070.00814.65
7.3.20.0050.01116.57
7.3.10.0100.00516.65
7.3.00.0120.00516.63
7.2.330.0090.00916.41
7.2.320.0030.01416.47
7.2.310.0070.01116.62
7.2.300.0090.00616.34
7.2.290.0120.00916.59
7.2.260.0070.01214.83
7.2.250.0080.01214.93
7.2.240.0050.00714.84
7.2.230.0070.00515.01
7.2.220.0050.00914.94
7.2.210.0090.00514.89
7.2.200.0050.00814.68
7.2.190.0030.01114.64
7.2.180.0050.01214.83
7.2.170.0080.00514.75
7.2.160.0050.01014.82
7.2.150.0060.00916.62
7.2.140.0050.00816.88
7.2.130.0080.00616.83
7.2.120.0030.01216.66
7.2.110.0020.01416.47
7.2.100.0020.01016.81
7.2.90.0050.00916.78
7.2.80.0060.00416.91
7.2.70.0080.00616.82
7.2.60.0020.00816.68
7.2.50.0080.00516.64
7.2.40.0040.00816.74
7.2.30.0010.01016.81
7.2.20.0090.00316.61
7.2.10.0050.00716.73
7.2.00.0050.00417.52
7.1.330.0030.01015.71
7.1.320.0070.01015.81
7.1.310.0080.00615.83
7.1.300.0050.01015.53
7.1.290.0030.00915.71
7.1.280.0070.00615.86
7.1.270.0020.00915.73
7.1.260.0100.00415.85
7.1.250.0090.00415.82
7.1.240.0000.01115.77
7.1.230.0050.00615.66
7.1.220.0030.00815.82
7.1.210.0020.01215.55
7.1.200.0040.00615.84
7.1.190.0090.00215.58
7.1.180.0060.00615.83
7.1.170.0020.00815.69
7.1.160.0060.00815.83
7.1.150.0020.01115.57
7.1.140.0060.00815.76
7.1.130.0030.00815.80
7.1.120.0090.00315.80
7.1.110.0070.00615.90
7.1.100.0200.00616.52
7.1.90.0050.01015.86
7.1.80.0020.01015.64
7.1.70.0020.01116.22
7.1.60.0070.00916.92
7.1.50.0070.01016.02
7.1.40.0050.00915.82
7.1.30.0050.00515.82
7.1.20.0070.00415.87
7.1.10.0060.00615.70
7.1.00.0010.03317.94
7.0.330.0090.00115.27
7.0.320.0050.00615.42
7.0.310.0060.00515.32
7.0.300.0060.00515.34
7.0.290.0020.01015.31
7.0.280.0080.00615.23
7.0.270.0010.01115.30
7.0.260.0050.00815.28
7.0.250.0060.00515.46
7.0.240.0050.00515.40
7.0.230.0050.00815.32
7.0.220.0020.01215.40
7.0.210.0040.00715.40
7.0.200.0040.00715.84
7.0.190.0020.01015.38
7.0.180.0050.00715.37
7.0.170.0030.01015.41
7.0.160.0050.00515.11
7.0.150.0090.00415.44
7.0.140.0030.03117.53
7.0.130.0020.01215.52
7.0.120.0040.00715.31
7.0.110.0070.00715.28
7.0.100.0060.00714.99
7.0.90.0050.01015.38
7.0.80.0080.00315.23
7.0.70.0040.00815.35
7.0.60.0080.03316.96
7.0.50.0040.01716.27
7.0.40.0050.03415.77
7.0.30.0070.02115.58
7.0.20.0130.02315.77
7.0.10.0080.03215.67
7.0.00.0030.03415.72
5.6.400.0080.00714.39
5.6.390.0030.00714.23
5.6.380.0010.00914.28
5.6.370.0080.00614.52
5.6.360.0030.00714.16
5.6.350.0080.00614.27
5.6.340.0050.00514.17
5.6.330.0090.00514.35
5.6.320.0000.01114.29
5.6.310.0050.00714.53
5.6.300.0050.00714.41
5.6.290.0090.00514.18
5.6.280.0040.03116.54
5.6.270.0020.01314.41
5.6.260.0070.00614.38
5.6.250.0060.00914.36
5.6.240.0050.00914.30
5.6.230.0030.00914.28
5.6.220.0110.00414.27
5.6.210.0020.03516.35
5.6.200.0040.03115.60
5.6.190.0060.02716.44
5.6.180.1360.02016.44
5.6.170.0120.02916.43
5.6.160.0020.02216.35
5.6.150.0030.02415.57
5.6.140.0120.01515.65
5.6.130.0080.03215.62
5.6.120.0100.01916.59
5.6.110.0060.02816.44
5.6.100.0080.03216.54
5.6.90.0060.03716.49
5.6.80.0050.02116.20
5.6.70.1660.01916.29
5.6.60.0050.00914.23
5.6.50.0040.01014.06
5.6.40.0030.00914.00
5.6.30.0110.00014.28
5.6.20.0110.00514.21
5.6.10.0050.00914.24
5.6.00.0030.00814.18
5.5.380.0060.00614.29
5.5.370.0030.01014.14
5.5.360.0030.01114.29
5.5.350.0080.03416.18
5.5.340.0070.02415.43
5.5.330.0040.03216.33
5.5.320.0120.01516.27
5.5.310.0110.02716.29
5.5.300.0100.01715.52
5.5.290.0060.03515.53
5.5.280.0070.01816.45
5.5.270.0070.02216.27
5.5.260.0070.02816.54
5.5.250.0070.03416.24
5.5.240.0110.02216.13
5.5.230.0070.00514.12
5.5.220.0070.00614.14
5.5.210.0030.01214.42
5.5.200.0100.00213.88
5.5.190.0040.00914.29
5.5.180.0020.01514.13
5.5.170.0050.00914.02
5.5.160.0030.00914.00
5.5.150.0100.00714.29
5.5.140.0040.01114.02
5.5.130.0100.00614.01
5.5.120.0060.00814.32
5.5.110.0080.00714.22
5.5.100.0080.00514.26
5.5.90.0030.00914.17
5.5.80.0050.01014.25
5.5.70.0050.00714.14
5.5.60.0090.00514.12
5.5.50.0060.00414.38
5.5.40.0020.01014.21
5.5.30.0040.00614.11
5.5.20.0070.00514.12
5.5.10.0070.00714.01
5.5.00.0090.00414.21
5.4.450.0160.02114.46
5.4.440.0160.02114.46
5.4.430.0130.02514.44
5.4.420.0100.02814.54
5.4.410.0070.02314.60
5.4.400.0080.02214.46
5.4.390.0090.02114.48
5.4.380.0160.02314.25
5.4.370.0170.01814.25
5.4.360.0150.02314.35
5.4.350.0130.02414.28
5.4.340.0100.02714.22
5.4.330.0030.00512.10
5.4.320.0070.01512.18
5.4.310.0040.01812.17
5.4.300.0030.01712.19
5.4.290.0050.01712.18
5.4.280.0060.01712.14
5.4.270.0040.01812.14
5.4.260.0040.01912.24
5.4.250.0030.01912.18
5.4.240.0050.01712.14
5.4.230.0030.02112.14
5.4.220.0040.01812.20
5.4.210.0060.01812.14
5.4.200.0050.01712.14
5.4.190.0050.01612.14
5.4.180.0030.01512.21
5.4.170.0050.01612.15
5.4.160.0040.01612.14
5.4.150.0050.01512.14
5.4.140.0050.01712.03
5.4.130.0050.01912.04
5.4.120.0020.02012.01
5.4.110.0050.01412.02
5.4.100.0020.02212.14
5.4.90.0050.01912.04
5.4.80.0050.01512.01
5.4.70.0060.01512.01
5.4.60.0080.01312.01
5.4.50.0020.01812.01
5.4.40.0040.01512.01
5.4.30.0030.01812.01
5.4.20.0060.01612.00
5.4.10.0020.01712.00
5.4.00.0070.01611.84
5.3.290.0080.03612.80
5.3.280.0060.03712.71
5.3.270.0070.03712.72
5.3.260.0070.04512.71
5.3.250.0060.04412.72
5.3.240.0050.03912.72
5.3.230.0070.03712.71
5.3.220.0020.04212.68
5.3.210.0080.03612.68
5.3.200.0060.04012.68
5.3.190.0070.03812.68
5.3.180.0020.03912.67
5.3.170.0050.03712.67
5.3.160.0050.03612.67
5.3.150.0060.03612.68
5.3.140.0090.03112.66
5.3.130.0020.04112.66
5.3.120.0060.03712.65
5.3.110.0040.04012.66
5.3.100.0070.04312.12
5.3.90.0020.03812.09
5.3.80.0040.03612.09
5.3.70.0030.03712.09
5.3.60.0040.03712.07
5.3.50.0050.03512.02
5.3.40.0050.03612.02
5.3.30.0090.03111.98
5.3.20.0100.03111.75
5.3.10.0060.03411.72
5.3.00.0030.03811.71
5.2.170.0030.0329.21
5.2.160.0040.0309.21
5.2.150.0050.0309.21
5.2.140.0060.0299.21
5.2.130.0030.0309.17
5.2.120.0040.0289.17
5.2.110.0050.0359.18
5.2.100.0030.0299.17
5.2.90.0050.0289.17
5.2.80.0030.0319.17
5.2.70.0040.0299.17
5.2.60.0040.0339.12
5.2.50.0040.0309.09
5.2.40.0100.0349.07
5.2.30.0040.0299.05
5.2.20.0020.0309.04
5.2.10.0050.0278.94
5.2.00.0040.0298.80
5.1.60.0030.0248.09
5.1.50.0030.0258.08
5.1.40.0030.0258.07
5.1.30.0060.0238.42
5.1.20.0080.0228.44
5.1.10.0020.0288.16
5.1.00.0080.0318.16
5.0.50.0040.0206.64
5.0.40.0020.0206.50
5.0.30.0010.0386.32
5.0.20.0050.0176.28
5.0.10.0030.0196.26
5.0.00.0020.0316.25
4.4.90.0000.0174.78
4.4.80.0020.0154.76
4.4.70.0030.0154.76
4.4.60.0020.0224.76
4.4.50.0030.0144.77
4.4.40.0050.0284.70
4.4.30.0030.0154.76
4.4.20.0050.0194.84
4.4.10.0030.0184.85
4.4.00.0040.0244.76
4.3.110.0020.0164.67
4.3.100.0010.0254.66
4.3.90.0030.0144.64
4.3.80.0010.0254.58
4.3.70.0030.0144.63
4.3.60.0050.0124.63
4.3.50.0040.0144.63
4.3.40.0040.0234.54
4.3.30.0030.0153.31
4.3.20.0040.0183.29
4.3.10.0030.0153.24
4.3.00.0000.0236.55

preferences:
45.2 ms | 400 KiB | 5 Q