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); $diff = ($a[0] === $a[1]); var_dump($diff); 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.0070.01118.21
8.3.50.0110.00921.10
8.3.40.0110.00718.68
8.3.30.0150.00318.73
8.3.20.0070.00020.16
8.3.10.0040.00420.46
8.3.00.0000.00819.13
8.2.180.0070.00716.38
8.2.170.0090.00922.96
8.2.160.0120.00320.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0020.00526.16
8.2.120.0050.00322.23
8.2.110.0030.01720.39
8.2.100.0080.00318.03
8.2.90.0040.00419.26
8.2.80.0080.00017.97
8.2.70.0080.00017.50
8.2.60.0030.00517.78
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0000.00719.55
8.2.20.0040.00417.68
8.2.10.0080.00018.08
8.2.00.0000.00717.67
8.1.280.0100.00725.92
8.1.270.0060.00323.75
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.83
8.1.230.0120.00018.85
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0000.00817.13
8.1.180.0000.00818.10
8.1.170.0050.00318.57
8.1.160.0040.00421.96
8.1.150.0040.00418.83
8.1.140.0040.00417.39
8.1.130.0040.00417.83
8.1.120.0070.00017.38
8.1.110.0040.00417.41
8.1.100.0000.00717.42
8.1.90.0030.00517.28
8.1.80.0030.00317.32
8.1.70.0000.00717.29
8.1.60.0060.00317.49
8.1.50.0040.00417.48
8.1.40.0090.00017.45
8.1.30.0080.00017.54
8.1.20.0040.00417.57
8.1.10.0000.00717.57
8.1.00.0000.00817.55
8.0.300.0030.00518.77
8.0.290.0000.00716.63
8.0.280.0000.00818.37
8.0.270.0000.00717.10
8.0.260.0040.00417.22
8.0.250.0020.00516.91
8.0.240.0000.00716.79
8.0.230.0040.00416.93
8.0.220.0040.00416.83
8.0.210.0060.00016.74
8.0.200.0000.00816.86
8.0.190.0050.00316.88
8.0.180.0000.00716.83
8.0.170.0030.00516.86
8.0.160.0030.00316.95
8.0.150.0050.00316.79
8.0.140.0000.00716.80
8.0.130.0000.00513.26
8.0.120.0030.00516.75
8.0.110.0030.00516.83
8.0.100.0070.00016.79
8.0.90.0000.00716.84
8.0.80.0160.00616.85
8.0.70.0000.00716.61
8.0.60.0050.00316.70
8.0.50.0050.00316.89
8.0.30.0120.01016.90
8.0.20.0120.00917.40
8.0.10.0080.00016.84
8.0.00.0090.00816.64
7.4.330.0020.00215.16
7.4.320.0040.00416.53
7.4.300.0000.00616.51
7.4.290.0030.00316.59
7.4.280.0000.00716.60
7.4.270.0030.00316.49
7.4.260.0030.00316.48
7.4.250.0000.00716.33
7.4.240.0020.00516.45
7.4.230.0000.00716.50
7.4.220.0000.02616.43
7.4.210.0070.01416.65
7.4.200.0070.00016.60
7.4.160.0090.00616.64
7.4.150.0120.00617.40
7.4.140.0100.00817.86
7.4.130.0060.01216.54
7.4.120.0070.00916.48
7.4.110.0030.01316.59
7.4.100.0060.01116.57
7.4.90.0060.01016.55
7.4.80.0100.01116.38
7.4.70.0090.01216.56
7.4.60.0070.01016.56
7.4.50.0040.00416.52
7.4.40.0130.00316.36
7.4.30.0170.00016.58
7.4.00.0020.01114.97
7.3.330.0000.00513.21
7.3.320.0050.00013.13
7.3.310.0000.00616.33
7.3.300.0070.00016.31
7.3.290.0030.01016.26
7.3.280.0110.00616.24
7.3.270.0060.01117.40
7.3.260.0100.01316.24
7.3.250.0150.00516.48
7.3.240.0030.01416.43
7.3.230.0130.00316.58
7.3.210.0070.01016.26
7.3.200.0150.00819.39
7.3.190.0060.01716.60
7.3.180.0070.01316.29
7.3.170.0120.00616.27
7.3.160.0060.00916.20
7.3.120.0000.01714.93
7.3.110.0090.00914.57
7.3.100.0030.01314.67
7.3.90.0110.00714.86
7.3.80.0090.00614.73
7.3.70.0030.00614.78
7.3.60.0040.01114.88
7.3.50.0070.01014.75
7.3.40.0060.00614.65
7.3.30.0100.00614.48
7.3.20.0030.01016.34
7.3.10.0080.00816.44
7.3.00.0140.00916.36
7.2.330.0100.00716.34
7.2.320.0060.01116.36
7.2.310.0100.00716.32
7.2.300.0070.01616.35
7.2.290.0060.01016.21
7.2.250.0120.00614.82
7.2.240.0030.01314.75
7.2.230.0000.01215.21
7.2.220.0030.01514.79
7.2.210.0070.00714.75
7.2.200.0000.01214.85
7.2.190.0090.00614.79
7.2.180.0140.00714.98
7.2.170.0030.00714.98
7.2.130.0110.00316.75
7.2.120.0090.00616.38
7.2.110.0030.01416.55
7.2.100.0130.00616.49
7.2.90.0160.00816.53
7.2.80.0080.00816.67
7.2.70.0440.00916.86
7.2.60.0160.00816.71
7.2.50.0190.00616.30
7.2.40.0360.00616.83
7.2.30.0530.00617.00
7.2.20.0380.00416.59
7.2.10.0080.01316.69
7.2.00.0060.00717.91
7.1.330.0090.00615.87
7.1.320.0070.01015.93
7.1.310.0040.00815.89
7.1.300.0070.01015.73
7.1.290.0040.01115.75
7.1.280.0030.00815.67
7.1.270.0040.01115.79
7.1.260.0030.01015.64
7.1.250.0140.00615.70
7.1.200.0060.00315.70
7.1.100.0040.00718.24
7.1.70.0030.00317.25
7.1.60.0050.00517.34
7.1.50.0100.01416.84
7.1.00.0000.08022.41
7.0.200.0100.00616.88
7.0.140.0070.07021.97
7.0.60.0070.07319.92
7.0.50.0130.06717.86
7.0.40.0200.07320.02
7.0.30.0370.04320.30
7.0.20.0230.06720.16
7.0.10.0100.07020.10
7.0.00.0030.04320.16
5.6.280.0100.06720.89
5.6.210.0030.07720.52
5.6.200.0030.05318.28
5.6.190.0070.04020.62
5.6.180.0500.07720.64
5.6.170.0300.03720.55
5.6.160.0070.08720.71
5.6.150.0070.08318.18
5.6.140.0070.08718.17
5.6.130.0100.05018.16
5.6.120.0000.08720.93
5.6.110.0030.04321.11
5.6.100.0100.08320.98
5.6.90.0030.07721.09
5.6.80.0100.07720.33
5.5.350.0100.06720.30
5.5.340.0030.06717.97
5.5.330.0070.04020.27
5.5.320.0430.07020.29
5.5.310.0170.07020.27
5.5.300.0070.05717.94
5.5.290.0070.08017.91
5.5.280.0130.07020.64
5.5.270.0170.03320.94
5.5.260.0170.06020.72
5.5.250.0170.03320.46
5.5.240.0100.03020.25
5.4.450.0370.06019.63
5.4.440.0300.05719.38
5.4.430.0200.06319.47
5.4.420.0100.05319.57
5.4.410.0100.05319.04
5.4.400.0270.05019.16
5.4.390.0370.05018.87
5.4.380.0300.05718.56
5.4.370.0400.05718.75
5.4.360.0370.06018.79
5.4.350.0370.06318.80
5.4.340.0370.06018.79
5.4.320.0080.03812.49
5.4.310.0080.04212.48
5.4.300.0080.03812.49
5.4.290.0060.03812.48
5.4.280.0050.03512.38
5.4.270.0070.03412.39
5.4.260.0050.03812.39
5.4.250.0060.03812.39
5.4.240.0050.03712.38
5.4.230.0130.03112.38
5.4.220.0090.03312.38
5.4.210.0080.03412.38
5.4.200.0060.03812.38
5.4.190.0060.03512.37
5.4.180.0040.03812.37
5.4.170.0060.03612.38
5.4.160.0030.03912.38
5.4.150.0050.03612.38
5.4.140.0040.03812.06
5.4.130.0060.03512.05
5.4.120.0090.03412.00
5.4.110.0060.04012.00
5.4.100.0050.04412.00
5.4.90.0050.04212.00
5.4.80.0100.03712.00
5.4.70.0040.03611.99
5.4.60.0070.03512.00
5.4.50.0060.04012.00
5.4.40.0080.04311.99
5.4.30.0040.03911.98
5.4.20.0080.03911.98
5.4.10.0100.03811.98
5.4.00.0040.04111.48
5.3.290.0110.03312.80
5.3.280.0080.03612.71
5.3.270.0100.03612.73
5.3.260.0080.04612.72
5.3.250.0060.05312.72
5.3.240.0060.05212.72
5.3.230.0040.03912.71
5.3.220.0040.04512.68
5.3.210.0110.05512.68
5.3.200.0050.05112.68
5.3.190.0050.05012.68
5.3.180.0070.04012.67
5.3.170.0090.04712.67
5.3.160.0090.04312.67
5.3.150.0080.05112.67
5.3.140.0170.04012.66
5.3.130.0040.04812.66
5.3.120.0060.04212.66
5.3.110.0110.03812.66
5.3.100.0080.04012.12
5.3.90.0090.03912.09
5.3.80.0100.04612.09
5.3.70.0080.04712.09
5.3.60.0060.04812.07
5.3.50.0060.04212.02
5.3.40.0060.03612.02
5.3.30.0030.03811.98
5.3.20.0050.03711.76
5.3.10.0060.03511.72
5.3.00.0060.03911.71
5.2.170.0040.0339.21
5.2.160.0050.0309.21
5.2.150.0050.0319.21
5.2.140.0060.0299.21
5.2.130.0050.0299.17
5.2.120.0080.0279.17
5.2.110.0090.0279.18
5.2.100.0100.0249.18
5.2.90.0070.0279.17
5.2.80.0060.0299.17
5.2.70.0070.0359.17
5.2.60.0060.0309.13
5.2.50.0050.0299.10
5.2.40.0040.0309.07
5.2.30.0030.0329.04
5.2.20.0070.0279.03
5.2.10.0100.0218.94
5.2.00.0060.0278.80
5.1.60.0040.0248.09
5.1.50.0070.0228.09
5.1.40.0050.0248.07
5.1.30.0030.0288.42
5.1.20.0020.0288.44
5.1.10.0050.0258.16
5.1.00.0020.0288.16
5.0.50.0020.0226.64
5.0.40.0030.0196.50
5.0.30.0120.0226.31
5.0.20.0050.0176.29
5.0.10.0080.0156.25
5.0.00.0080.0256.25
4.4.90.0040.0144.77
4.4.80.0010.0174.75
4.4.70.0030.0154.76
4.4.60.0040.0144.76
4.4.50.0050.0134.77
4.4.40.0070.0234.71
4.4.30.0050.0164.76
4.4.20.0060.0144.85
4.4.10.0060.0134.85
4.4.00.0070.0224.76
4.3.110.0060.0144.66
4.3.100.0020.0184.66
4.3.90.0050.0134.64
4.3.80.0040.0264.58
4.3.70.0040.0184.63
4.3.60.0040.0164.63
4.3.50.0050.0144.63
4.3.40.0040.0224.54
4.3.30.0020.0163.31
4.3.20.0030.0153.29
4.3.10.0030.0153.24
4.3.00.0070.0236.59

preferences:
39.4 ms | 401 KiB | 5 Q