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' => 'test1wefrwerferf', '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); $diff = array_diff($a[0], $a[1]); print_r($diff); 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.60.0120.00618.31
8.3.50.0070.01016.11
8.3.40.0120.00318.70
8.3.30.0110.00319.05
8.3.20.0040.00420.16
8.3.10.0040.00420.31
8.3.00.0080.00019.25
8.2.180.0120.00316.50
8.2.170.0070.00722.96
8.2.160.0160.00320.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00022.14
8.2.110.0030.00620.54
8.2.100.0040.00717.66
8.2.90.0000.00819.22
8.2.80.0030.00617.97
8.2.70.0040.00417.63
8.2.60.0080.00018.04
8.2.50.0000.00818.07
8.2.40.0040.00418.19
8.2.30.0040.00421.36
8.2.20.0000.00717.63
8.2.10.0040.00418.13
8.2.00.0040.00417.68
8.1.280.0140.00725.92
8.1.270.0060.00322.14
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.63
8.1.230.0120.00019.16
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0040.00417.10
8.1.190.0050.00317.23
8.1.180.0080.00018.10
8.1.170.0030.00618.59
8.1.160.0040.00421.93
8.1.150.0000.00718.88
8.1.140.0000.00717.43
8.1.130.0000.00617.87
8.1.120.0000.00717.47
8.1.110.0030.00517.29
8.1.100.0000.00717.47
8.1.90.0040.00417.40
8.1.80.0050.00317.29
8.1.70.0040.00417.36
8.1.60.0060.00317.54
8.1.50.0030.00617.48
8.1.40.0070.00017.45
8.1.30.0030.00617.53
8.1.20.0000.00817.61
8.1.10.0000.00817.52
8.1.00.0040.00417.38
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.34
8.0.270.0040.00417.15
8.0.260.0000.00617.21
8.0.250.0030.00316.88
8.0.240.0040.00416.91
8.0.230.0030.00516.94
8.0.220.0030.00316.84
8.0.210.0030.00316.81
8.0.200.0080.00016.95
8.0.190.0050.00316.75
8.0.180.0000.00716.74
8.0.170.0060.00316.72
8.0.160.0040.00416.82
8.0.150.0000.00716.70
8.0.140.0050.00316.77
8.0.130.0030.00313.30
8.0.120.0000.00816.88
8.0.110.0040.00416.91
8.0.100.0000.00716.89
8.0.90.0040.00416.80
8.0.80.0120.00316.78
8.0.70.0000.00716.74
8.0.60.0000.00716.86
8.0.50.0000.00816.78
8.0.30.0110.00817.16
8.0.20.0130.00717.40
8.0.10.0020.00516.98
8.0.00.0130.00516.73
7.4.330.0000.00515.02
7.4.320.0030.00316.55
7.4.300.0040.00416.45
7.4.290.0000.00716.54
7.4.280.0000.00816.53
7.4.270.0000.00716.53
7.4.260.0030.00316.47
7.4.250.0040.00416.43
7.4.240.0020.00516.52
7.4.230.0030.00316.58
7.4.220.0130.00616.35
7.4.210.0090.00916.65
7.4.200.0050.00216.57
7.4.160.0080.01616.58
7.4.150.0000.01917.40
7.4.140.0110.00817.86
7.4.130.0110.00616.42
7.4.120.0110.00916.48
7.4.110.0090.00916.58
7.4.100.0070.01016.57
7.4.90.0030.01416.43
7.4.80.0190.00016.57
7.4.70.0030.01216.36
7.4.60.0100.00716.17
7.4.50.0050.00316.24
7.4.40.0120.00616.34
7.4.30.0130.00316.52
7.4.10.0030.01414.90
7.4.00.0050.00814.81
7.3.330.0030.00313.05
7.3.320.0030.00312.96
7.3.310.0030.00316.05
7.3.300.0060.00016.19
7.3.290.0040.01116.10
7.3.280.0090.01116.18
7.3.270.0070.01017.40
7.3.260.0090.00916.24
7.3.250.0110.00516.35
7.3.240.0110.00716.24
7.3.230.0080.00816.41
7.3.210.0120.00616.36
7.3.200.0100.00719.39
7.3.190.0090.00916.26
7.3.180.0070.01016.46
7.3.170.0060.00916.55
7.3.160.0150.00016.23
7.3.130.0070.01015.00
7.3.120.0090.01014.76
7.3.110.0070.01214.85
7.3.100.0060.00914.79
7.3.90.0070.00914.96
7.3.80.0020.01314.76
7.3.70.0070.00714.64
7.3.60.0080.00414.72
7.3.50.0060.00714.76
7.3.40.0080.00614.59
7.3.30.0050.00814.67
7.3.20.0050.00816.66
7.3.10.0090.00616.60
7.3.00.0050.00916.59
7.2.330.0070.01416.27
7.2.320.0060.01016.48
7.2.310.0040.01516.29
7.2.300.0030.01816.21
7.2.290.0130.00416.49
7.2.260.0060.01314.53
7.2.250.0060.01314.85
7.2.240.0060.01114.83
7.2.230.0080.00714.79
7.2.220.0090.00514.91
7.2.210.0070.00614.90
7.2.200.0100.00514.75
7.2.190.0050.01014.75
7.2.180.0080.00614.78
7.2.170.0020.01014.92
7.2.160.0070.00314.97
7.2.150.0030.01216.81
7.2.140.0070.01016.58
7.2.130.0060.00316.76
7.2.120.0030.01016.88
7.2.110.0040.01216.75
7.2.100.0000.00916.57
7.2.90.0140.00316.48
7.2.80.0030.00716.54
7.2.70.0060.00916.73
7.2.60.0060.00616.68
7.2.50.0100.00616.95
7.2.40.0140.00416.67
7.2.30.0000.01316.82
7.2.20.0100.00316.77
7.2.10.0120.00316.82
7.2.00.0060.00717.87
7.1.330.0050.00915.77
7.1.320.0080.00715.70
7.1.310.0070.00515.80
7.1.300.0080.00515.60
7.1.290.0050.00815.86
7.1.280.0030.00815.84
7.1.270.0030.01015.69
7.1.260.0030.00615.77
7.1.250.0040.00815.84
7.1.240.0030.00915.63
7.1.230.0060.00615.66
7.1.220.0000.01115.75
7.1.210.0100.00315.88
7.1.200.0030.00715.80
7.1.190.0060.00315.92
7.1.180.0090.00615.83
7.1.170.0030.01615.86
7.1.160.0110.00715.66
7.1.150.0110.00415.91
7.1.140.0030.01015.55
7.1.130.0040.00415.83
7.1.120.0080.00415.74
7.1.110.0000.01515.87
7.1.100.0230.00517.18
7.1.90.0060.00615.89
7.1.80.0000.01015.86
7.1.70.0060.00416.36
7.1.60.0090.00717.60
7.1.50.0060.01016.15
7.1.40.0040.00915.88
7.1.30.0060.00615.89
7.1.20.0060.00915.73
7.1.10.0110.00315.78
7.1.00.0020.04519.14
7.0.330.0060.00615.48
7.0.320.0000.01315.16
7.0.310.0060.00915.30
7.0.300.0060.00915.13
7.0.290.0060.00615.17
7.0.280.0000.01415.29
7.0.270.0090.00315.33
7.0.260.0030.01015.55
7.0.250.0030.00715.51
7.0.240.0030.00915.59
7.0.230.0000.01515.44
7.0.220.0070.00715.37
7.0.210.0130.00015.43
7.0.200.0070.00515.87
7.0.190.0000.01315.45
7.0.180.0070.00715.14
7.0.170.0000.01115.34
7.0.160.0130.00315.29
7.0.150.0080.00615.39
7.0.140.0050.04118.71
7.0.130.0050.00515.51
7.0.120.0030.01015.50
7.0.110.0040.00815.48
7.0.100.0030.01115.21
7.0.90.0060.00615.20
7.0.80.0080.00414.96
7.0.70.0040.00415.35
7.0.60.0030.02717.67
7.0.50.0070.04016.64
7.0.40.0050.03516.83
7.0.30.0200.03416.72
7.0.20.0170.03316.81
7.0.10.0070.04416.74
7.0.00.0050.02316.76
5.6.400.0000.01214.34
5.6.390.0030.00914.25
5.6.380.0090.00314.21
5.6.370.0060.00614.32
5.6.360.0070.00714.23
5.6.350.0070.00314.32
5.6.340.0060.00613.91
5.6.330.0040.00714.28
5.6.320.0030.01014.49
5.6.310.0060.00313.84
5.6.300.0000.01214.30
5.6.290.0000.00914.07
5.6.280.0050.04017.71
5.6.270.0140.00014.37
5.6.260.0070.00714.33
5.6.250.0070.00714.17
5.6.240.0070.00714.44
5.6.230.0060.00614.26
5.6.220.0060.00614.62
5.6.210.0020.03317.53
5.6.200.0040.03216.09
5.6.190.0060.02217.52
5.6.180.0250.03217.33
5.6.170.0240.03617.40
5.6.160.0050.04717.34
5.6.150.0120.02016.27
5.6.140.0030.02516.20
5.6.130.0100.04016.19
5.6.120.0070.04517.58
5.6.110.0060.02317.59
5.6.100.0030.04717.64
5.6.90.0100.04017.68
5.6.80.0080.04517.40
5.6.70.0030.01014.28
5.6.60.0090.00614.01
5.6.50.0090.00614.39
5.6.40.0100.00314.36
5.6.30.0000.01414.27
5.6.20.0000.01414.55
5.6.10.0080.00313.99
5.6.00.0040.00414.29
5.5.380.0060.00614.27
5.5.370.0030.00613.93
5.5.360.0090.00614.18
5.5.350.0080.04317.38
5.5.340.0080.04216.06
5.5.330.0050.02217.29
5.5.320.0210.03817.38
5.5.310.0180.04017.26
5.5.300.0030.02316.27
5.5.290.0080.04316.02
5.5.280.0060.03017.49
5.5.270.0060.02917.42
5.5.260.0030.04817.60
5.5.250.0080.04517.35
5.5.240.0080.02117.02
5.5.230.0030.01314.00
5.5.220.0100.00713.92
5.5.210.0040.01514.23
5.5.200.0000.01514.14
5.5.190.0040.00714.10
5.5.180.0030.01314.05
5.5.170.0030.01014.27
5.5.160.0030.01014.13
5.5.150.0110.00414.58
5.5.140.0000.00814.29
5.5.130.0110.00713.93
5.5.120.0060.00614.14
5.5.110.0070.00414.23
5.5.100.0040.00814.23
5.5.90.0070.00414.04
5.5.80.0100.00313.79
5.5.70.0090.00314.06
5.5.60.0060.01214.41
5.5.50.0060.00313.80
5.5.40.0030.01014.02
5.5.30.0030.00913.88
5.5.20.0000.01414.02
5.5.10.0000.00914.13
5.5.00.0080.00814.37
5.4.450.0100.03115.77
5.4.440.0130.03115.63
5.4.430.0050.03215.84
5.4.420.0130.03415.83
5.4.410.0140.02915.75
5.4.400.0180.03315.53
5.4.390.0170.03215.60
5.4.380.0200.03615.46
5.4.370.0250.03515.31
5.4.360.0180.03115.43
5.4.350.0130.03815.27
5.4.340.0190.02715.39
5.4.330.0100.00312.06
5.4.320.0050.02212.28
5.4.310.0020.02412.27
5.4.300.0060.02312.27
5.4.290.0050.02412.27
5.4.280.0040.02412.22
5.4.270.0050.02212.22
5.4.260.0050.02312.22
5.4.250.0050.02312.22
5.4.240.0040.02112.22
5.4.230.0060.02212.22
5.4.220.0050.02112.22
5.4.210.0050.02012.22
5.4.200.0020.02512.22
5.4.190.0060.02112.21
5.4.180.0030.02412.21
5.4.170.0020.02112.22
5.4.160.0040.02212.22
5.4.150.0060.02012.22
5.4.140.0020.02112.06
5.4.130.0050.02112.05
5.4.120.0060.01812.03
5.4.110.0040.02112.03
5.4.100.0030.02112.03
5.4.90.0090.01912.03
5.4.80.0040.02212.03
5.4.70.0040.02112.03
5.4.60.0050.02012.03
5.4.50.0070.01912.03
5.4.40.0040.02312.02
5.4.30.0020.02512.02
5.4.20.0030.02112.02
5.4.10.0050.01912.02
5.4.00.0020.02511.77
5.3.290.0090.03912.80
5.3.280.0050.04012.71
5.3.270.0080.03812.72
5.3.260.0080.03812.72
5.3.250.0080.03512.72
5.3.240.0070.03612.72
5.3.230.0050.03812.71
5.3.220.0060.03712.68
5.3.210.0050.03912.68
5.3.200.0090.03412.68
5.3.190.0080.03512.68
5.3.180.0090.03312.67
5.3.170.0060.03612.67
5.3.160.0050.03712.68
5.3.150.0070.03512.67
5.3.140.0040.03812.66
5.3.130.0050.04012.66
5.3.120.0050.05212.66
5.3.110.0100.04912.66
5.3.100.0090.03412.12
5.3.90.0120.03112.10
5.3.80.0060.03812.09
5.3.70.0070.03512.09
5.3.60.0100.03212.07
5.3.50.0080.03412.02
5.3.40.0080.03412.02
5.3.30.0090.03111.98
5.3.20.0080.03311.76
5.3.10.0090.03211.72
5.3.00.0070.03411.71
5.2.170.0040.0309.21
5.2.160.0020.0319.21
5.2.150.0070.0289.22
5.2.140.0030.0329.21
5.2.130.0090.0259.17
5.2.120.0060.0289.17
5.2.110.0040.0309.18
5.2.100.0070.0269.18
5.2.90.0070.0269.17
5.2.80.0030.0329.17
5.2.70.0120.0239.17
5.2.60.0050.0299.13
5.2.50.0070.0279.10
5.2.40.0050.0279.07
5.2.30.0050.0299.05
5.2.20.0080.0259.03
5.2.10.0050.0298.94
5.2.00.0030.0308.80
5.1.60.0080.0208.09
5.1.50.0030.0268.09
5.1.40.0030.0258.07
5.1.30.0040.0258.42
5.1.20.0060.0248.44
5.1.10.0070.0238.16
5.1.00.0050.0248.16
5.0.50.0070.0176.64
5.0.40.0040.0206.50
5.0.30.0040.0356.31
5.0.20.0030.0206.29
5.0.10.0040.0246.26
5.0.00.0050.0296.25
4.4.90.0030.0154.78
4.4.80.0040.0154.75
4.4.70.0020.0164.75
4.4.60.0030.0164.75
4.4.50.0030.0164.77
4.4.40.0030.0274.70
4.4.30.0030.0154.75
4.4.20.0020.0164.84
4.4.10.0030.0184.85
4.4.00.0040.0244.76
4.3.110.0020.0164.67
4.3.100.0040.0144.67
4.3.90.0060.0114.63
4.3.80.0020.0254.58
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0040.0234.54
4.3.30.0020.0163.31
4.3.20.0010.0173.28
4.3.10.0020.0153.24
4.3.00.0070.0206.59

preferences:
50.97 ms | 400 KiB | 5 Q