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); print_r(array_keys($acount)); var_export(array_keys($acount));

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.00818.43
8.3.50.0160.00316.48
8.3.40.0040.01418.84
8.3.30.0110.00419.09
8.3.20.0040.00420.21
8.3.10.0080.00020.45
8.3.00.0040.00419.38
8.2.180.0070.00716.75
8.2.170.0030.01022.96
8.2.160.0170.00320.18
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.23
8.2.110.0090.00020.53
8.2.100.0040.00718.09
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0040.00417.91
8.2.50.0060.00318.07
8.2.40.0000.00818.19
8.2.30.0000.00719.45
8.2.20.0040.00417.57
8.2.10.0040.00417.91
8.2.00.0050.00317.78
8.1.280.0120.00625.92
8.1.270.0080.00022.22
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0040.00423.83
8.1.230.0000.01019.04
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0110.00017.00
8.1.190.0040.00417.22
8.1.180.0050.00318.10
8.1.170.0040.00418.55
8.1.160.0070.00021.91
8.1.150.0040.00418.87
8.1.140.0070.00017.38
8.1.130.0000.00617.73
8.1.120.0040.00417.36
8.1.110.0050.00317.37
8.1.100.0070.00017.25
8.1.90.0040.00417.31
8.1.80.0040.00417.37
8.1.70.0030.00317.31
8.1.60.0000.00817.53
8.1.50.0060.00317.47
8.1.40.0000.00817.54
8.1.30.0030.00617.50
8.1.20.0000.00717.66
8.1.10.0080.00017.52
8.1.00.0040.00417.41
8.0.300.0080.00018.77
8.0.290.0070.00016.75
8.0.280.0070.00018.42
8.0.270.0030.00317.22
8.0.260.0040.00417.18
8.0.250.0000.00717.01
8.0.240.0000.00816.94
8.0.230.0000.00616.88
8.0.220.0030.00316.79
8.0.210.0030.00316.91
8.0.200.0000.00716.88
8.0.190.0000.00716.85
8.0.180.0030.00316.77
8.0.170.0030.00516.96
8.0.160.0030.00516.95
8.0.150.0000.00716.79
8.0.140.0040.00416.75
8.0.130.0050.00313.28
8.0.120.0030.00616.79
8.0.110.0020.00516.77
8.0.100.0040.00416.89
8.0.90.0000.00816.84
8.0.80.0040.01216.94
8.0.70.0040.00416.87
8.0.60.0000.00716.66
8.0.50.0030.00616.88
8.0.30.0120.00717.02
8.0.20.0100.00917.40
8.0.10.0040.00416.95
8.0.00.0110.00616.59
7.4.330.0000.00515.00
7.4.320.0000.00716.46
7.4.300.0030.00316.52
7.4.290.0070.00016.45
7.4.280.0000.00716.41
7.4.270.0030.00316.43
7.4.260.0070.00416.43
7.4.250.0040.00416.54
7.4.240.0050.00216.51
7.4.230.0030.00316.25
7.4.220.0030.01616.63
7.4.210.0120.00316.47
7.4.200.0000.00716.53
7.4.160.0100.01016.43
7.4.150.0120.00617.40
7.4.140.0100.00817.86
7.4.130.0090.00816.49
7.4.120.0090.00816.49
7.4.110.0110.00716.48
7.4.100.0070.01016.39
7.4.90.0080.01116.48
7.4.80.0030.01916.61
7.4.70.0110.00616.32
7.4.60.0090.00616.32
7.4.50.0050.00316.56
7.4.40.0120.00416.26
7.4.30.0130.00316.48
7.4.00.0110.00614.63
7.3.330.0060.00013.03
7.3.320.0050.00213.13
7.3.310.0030.00316.07
7.3.300.0000.00616.04
7.3.290.0160.00316.21
7.3.280.0100.00716.21
7.3.270.0090.00917.40
7.3.260.0080.00816.19
7.3.250.0150.00516.19
7.3.240.0070.01016.32
7.3.230.0100.00616.40
7.3.210.0100.00716.22
7.3.200.0090.01119.39
7.3.190.0090.00916.24
7.3.180.0130.00316.34
7.3.170.0120.00316.27
7.3.160.0030.01216.07
7.3.120.0130.00314.75
7.3.110.0080.00914.47
7.3.100.0050.00714.48
7.3.90.0060.00514.86
7.3.80.0050.01014.58
7.3.70.0050.00814.59
7.3.60.0090.00514.69
7.3.50.0030.00914.64
7.3.40.0050.00614.71
7.3.30.0050.00614.67
7.3.20.0080.00716.50
7.3.10.0080.00516.47
7.3.00.0060.00616.35
7.2.330.0150.00316.41
7.2.320.0060.01016.50
7.2.310.0120.00916.45
7.2.300.0130.00316.47
7.2.290.0090.00916.50
7.2.250.0040.01414.78
7.2.240.0130.00514.75
7.2.230.0080.00714.87
7.2.220.0050.00514.69
7.2.210.0030.01014.72
7.2.200.0080.00614.84
7.2.190.0050.01114.71
7.2.180.0050.00614.63
7.2.170.0060.00814.75
7.2.160.0070.00714.38
7.2.150.0100.00716.42
7.2.140.0030.01016.55
7.2.130.0030.01016.38
7.2.120.0080.00316.67
7.2.110.0100.00716.45
7.2.100.0110.00416.69
7.2.90.0070.00716.73
7.2.80.0120.00616.74
7.2.70.0000.00916.48
7.2.60.0060.00316.72
7.2.50.0100.00216.89
7.2.40.0060.00616.77
7.2.30.0060.00916.84
7.2.20.0000.01516.76
7.2.10.0000.01316.31
7.2.00.0040.01017.87
7.1.330.0030.01015.66
7.1.320.0060.00615.64
7.1.310.0050.00715.65
7.1.300.0050.00915.46
7.1.290.0050.00615.75
7.1.280.0060.00615.76
7.1.270.0050.00815.56
7.1.260.0050.00815.62
7.1.250.0060.00615.84
7.1.200.0040.01115.82
7.1.100.0080.00818.07
7.1.70.0040.00416.97
7.1.60.0070.01719.32
7.1.50.0130.00716.79
7.1.00.0130.06722.43
7.0.200.0080.00316.73
7.0.140.0070.07021.96
7.0.110.0070.03719.98
7.0.100.0070.03719.93
7.0.90.0030.03321.71
7.0.80.0030.03321.74
7.0.70.0000.04321.78
7.0.60.0000.04021.88
7.0.50.0030.03321.79
7.0.40.0100.02719.68
7.0.30.0100.03019.85
7.0.20.0030.03319.71
7.0.10.0030.03319.69
7.0.00.0000.04019.65
5.6.280.0000.08020.99
5.6.260.0030.04020.67
5.6.250.0030.03720.59
5.6.240.0030.04020.71
5.6.230.0030.03720.55
5.6.220.0030.03320.54
5.6.210.0030.04320.60
5.6.200.0000.03720.62
5.6.190.0000.04320.61
5.6.180.0030.03320.61
5.6.170.0030.04020.64
5.6.160.0030.03320.55
5.6.150.0030.03320.68
5.6.140.0030.03720.69
5.6.130.0000.03720.63
5.6.120.0070.03020.58
5.6.110.0000.03720.62
5.6.100.0030.03720.45
5.6.90.0070.03020.66
5.6.80.0100.06020.08
5.6.70.0070.04720.19
5.6.60.0100.07320.02
5.6.50.0070.07020.00
5.6.40.0200.02720.00
5.6.30.0070.06319.98
5.6.20.0070.08720.05
5.6.10.0070.03320.05
5.6.00.0170.06720.21
5.5.380.0030.03717.63
5.5.370.0030.03017.56
5.5.360.0000.04017.57
5.5.350.0000.03717.47
5.5.340.0030.03717.79
5.5.330.0000.05318.03
5.5.320.0070.03017.86
5.5.310.0070.03018.02
5.5.300.0100.03318.16
5.5.290.0070.03017.84
5.5.280.0130.02318.02
5.5.270.0070.03717.84
5.5.260.0030.03318.08
5.5.250.0070.07017.65
5.5.240.0030.05317.23
5.5.230.0070.03317.49
5.5.220.0070.07317.63
5.5.210.0030.03717.50
5.5.200.0070.07317.45
5.5.190.0100.04017.45
5.5.180.0030.07017.21
5.5.160.0170.06717.21
5.5.150.0030.06017.11
5.5.140.0000.07317.48
5.5.130.0030.06017.33
5.5.120.0130.07017.10
5.5.110.0030.06717.19
5.5.100.0070.10017.51
5.5.90.0070.05717.11
5.5.80.0030.04717.27
5.5.70.0030.05317.01
5.5.60.0070.04717.10
5.5.50.0070.06717.39
5.5.40.0100.04317.10
5.5.30.0070.06317.41
5.5.20.0070.06717.39
5.5.10.0100.05317.02
5.5.00.0100.03017.24
5.4.450.0000.03719.49
5.4.440.0100.02719.25
5.4.430.0230.02719.44
5.4.420.0100.03019.31
5.4.410.0000.08019.37
5.4.400.0100.07718.93
5.4.390.0030.07719.16
5.4.380.0100.05718.98
5.4.370.0030.05319.12
5.4.360.0070.06319.03
5.4.350.0070.06018.95
5.4.340.0070.07019.01
5.4.320.0130.03718.99
5.4.310.0000.08019.18
5.4.300.0030.08018.93
5.4.290.0000.08019.16
5.4.280.0070.04019.11
5.4.270.0000.08319.11
5.4.260.0100.04719.25
5.4.250.0100.06318.99
5.4.240.0000.04019.11
5.4.230.0070.04318.98
5.4.220.0130.07019.24
5.4.210.0030.07019.07
5.4.200.0070.06719.00
5.4.190.0070.07319.26
5.4.180.0130.06019.02
5.4.170.0070.05018.94
5.4.160.0070.05318.93
5.4.150.0000.07018.93
5.4.140.0030.04716.16
5.4.130.0070.05716.48
5.4.120.0070.05016.48
5.4.110.0070.04016.13
5.4.100.0100.07016.50
5.4.90.0070.03316.46
5.4.80.0000.03716.38
5.4.70.0070.04316.47
5.4.60.0030.03716.46
5.4.50.0030.07316.50
5.4.40.0070.06716.40
5.4.30.0130.06316.35
5.4.20.0130.06316.25
5.4.10.0100.06016.25
5.4.00.0000.04715.70
5.3.290.0130.06714.50
5.3.280.0100.06714.66
5.3.270.0030.09014.56
5.3.260.0100.05314.71
5.3.250.0000.05014.61
5.3.240.0000.07314.63
5.3.230.0070.07014.68
5.3.220.0030.07714.63
5.3.210.0030.07714.42
5.3.200.0070.06714.36
5.3.190.0030.03314.57
5.3.180.0030.03714.43
5.3.170.0070.04314.59
5.3.160.0030.07714.63
5.3.150.0100.03714.58
5.3.140.0000.06014.49
5.3.130.0100.07014.63
5.3.120.0100.07014.62
5.3.110.0000.04714.61
5.3.100.0030.06013.95
5.3.90.0000.04713.87
5.3.80.0000.05313.94
5.3.70.0070.05713.98
5.3.60.0030.03314.07
5.3.50.0030.06313.79
5.3.40.0000.03713.81
5.3.30.0000.03713.80
5.3.20.0100.06313.64
5.3.10.0170.06013.55
5.3.00.0000.08013.50
5.2.170.0070.05011.91
5.2.160.0030.04011.91
5.2.150.0030.02711.91
5.2.140.0070.06711.91
5.2.130.0000.06311.91
5.2.120.0030.06011.91
5.2.110.0000.06311.91
5.2.100.0000.04311.91
5.2.90.0030.02311.91
5.2.80.0000.06011.91
5.2.70.0030.03011.91
5.2.60.0030.04311.91
5.2.50.0000.03711.91
5.2.40.0000.03011.91
5.2.30.0000.03311.91
5.2.20.0000.03011.91
5.2.10.0000.03011.91
5.2.00.0000.03011.91
5.1.60.0030.02311.91
5.1.50.0030.02311.91
5.1.40.0030.03311.91
5.1.30.0000.02711.91
5.1.20.0100.03011.91
5.1.10.0030.03311.91
5.1.00.0070.02011.91
5.0.50.0000.01711.91
5.0.40.0000.04011.91
5.0.30.0030.03311.91
5.0.20.0030.01711.91
5.0.10.0000.02011.91
5.0.00.0030.03011.91
4.4.90.0000.03311.91
4.4.80.0000.02311.91
4.4.70.0000.01711.91
4.4.60.0000.01711.91
4.4.50.0030.01311.91
4.4.40.0030.02311.91
4.4.30.0000.01311.91
4.4.20.0000.02311.91
4.4.10.0000.01311.91
4.4.00.0000.04311.91
4.3.110.0070.02311.91
4.3.100.0000.01711.91
4.3.90.0000.01311.91
4.3.80.0000.02711.91
4.3.70.0000.01711.91
4.3.60.0030.02011.91
4.3.50.0030.01711.91
4.3.40.0000.02711.91
4.3.30.0000.01711.91
4.3.20.0000.01711.91
4.3.10.0000.01711.91
4.3.00.0000.02011.91

preferences:
50.87 ms | 400 KiB | 5 Q