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 = ($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.0100.00318.14
8.3.50.0090.01121.92
8.3.40.0140.00418.59
8.3.30.0040.01119.10
8.3.20.0080.00020.34
8.3.10.0040.00420.45
8.3.00.0080.00019.26
8.2.180.0190.00418.17
8.2.170.0110.00422.96
8.2.160.0110.00620.47
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00222.05
8.2.110.0030.00620.39
8.2.100.0080.00318.16
8.2.90.0040.00419.17
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0000.00717.93
8.2.50.0080.00018.07
8.2.40.0060.00318.24
8.2.30.0000.00719.47
8.2.20.0040.00417.74
8.2.10.0030.00518.18
8.2.00.0000.00817.78
8.1.280.0060.00925.92
8.1.270.0040.00423.77
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.60
8.1.230.0110.00019.14
8.1.220.0070.00017.79
8.1.210.0000.00818.77
8.1.200.0060.00617.35
8.1.190.0050.00317.36
8.1.180.0030.00518.10
8.1.170.0040.00418.60
8.1.160.0070.00022.00
8.1.150.0050.00218.76
8.1.140.0050.00217.41
8.1.130.0000.00717.80
8.1.120.0050.00317.42
8.1.110.0050.00317.46
8.1.100.0000.00717.43
8.1.90.0040.00417.45
8.1.80.0070.00017.44
8.1.70.0030.00317.41
8.1.60.0030.00517.48
8.1.50.0000.00817.44
8.1.40.0040.00417.49
8.1.30.0080.00017.64
8.1.20.0000.00817.68
8.1.10.0040.00417.38
8.1.00.0000.00817.51
8.0.300.0050.00318.77
8.0.290.0070.00016.63
8.0.280.0000.00718.43
8.0.270.0030.00317.16
8.0.260.0030.00317.16
8.0.250.0000.00716.84
8.0.240.0000.00816.81
8.0.230.0000.00716.84
8.0.220.0000.00716.85
8.0.210.0000.00616.88
8.0.200.0000.00716.96
8.0.190.0000.00816.94
8.0.180.0000.00816.88
8.0.170.0040.00416.96
8.0.160.0030.00316.88
8.0.150.0000.00716.88
8.0.140.0070.00016.72
8.0.130.0000.00813.27
8.0.120.0000.00716.82
8.0.110.0000.00716.77
8.0.100.0040.00416.78
8.0.90.0000.00917.00
8.0.80.0100.00716.86
8.0.70.0070.00016.68
8.0.60.0000.00816.82
8.0.50.0030.00516.79
8.0.30.0120.01017.15
8.0.20.0140.00617.40
8.0.10.0040.00416.90
8.0.00.0090.00816.71
7.4.330.0050.00015.15
7.4.320.0000.00716.59
7.4.300.0030.00316.52
7.4.290.0000.00616.59
7.4.280.0080.00016.50
7.4.270.0000.00716.60
7.4.260.0000.00716.62
7.4.250.0070.00016.57
7.4.240.0040.00316.50
7.4.230.0000.00816.61
7.4.220.0130.00716.42
7.4.210.0090.00616.45
7.4.200.0040.00416.34
7.4.160.0160.00316.38
7.4.150.0120.00617.40
7.4.140.0050.01417.86
7.4.130.0080.00816.66
7.4.120.0130.00516.44
7.4.110.0130.00316.34
7.4.100.0070.01016.51
7.4.90.0080.01216.36
7.4.80.0100.00716.59
7.4.70.0000.01616.50
7.4.60.0060.01016.49
7.4.50.0000.00816.50
7.4.40.0090.00616.57
7.4.30.0060.00916.41
7.4.00.0060.00915.10
7.3.330.0000.00613.14
7.3.320.0030.00313.18
7.3.310.0070.00016.32
7.3.300.0030.00316.21
7.3.290.0030.01316.21
7.3.280.0120.00516.23
7.3.270.0140.00317.40
7.3.260.0030.01416.34
7.3.250.0070.01016.59
7.3.240.0130.01016.56
7.3.230.0030.01316.39
7.3.210.0090.00716.48
7.3.200.0030.01619.39
7.3.190.0190.00316.33
7.3.180.0060.01216.25
7.3.170.0030.01316.28
7.3.160.0110.00516.46
7.2.330.0090.00916.68
7.2.320.0100.00616.63
7.2.310.0130.00616.45
7.2.300.0170.00016.27
7.2.290.0130.00316.70
7.2.120.0120.00516.63
7.2.110.0070.00316.51
7.2.100.0100.01016.56
7.2.90.0110.00716.66
7.2.80.0130.00316.55
7.2.70.0110.00716.97
7.2.60.0110.00816.62
7.2.50.0120.00816.82
7.2.40.0170.00016.80
7.2.30.0120.00616.66
7.2.20.0070.01116.63
7.2.10.0150.00416.78
7.2.00.0080.00418.02
7.1.240.0120.00515.91
7.1.230.0110.00815.70
7.1.220.0130.00615.79
7.1.210.0050.00815.80
7.1.200.0080.00615.73
7.1.190.0110.00315.87
7.1.180.0170.00015.48
7.1.170.0130.00515.86
7.1.160.0070.00915.87
7.1.150.0120.00615.96
7.1.140.0110.00715.87
7.1.130.0070.00715.60
7.1.120.0110.00715.58
7.1.110.0070.01015.95
7.1.100.0080.00716.94
7.1.90.0140.00715.79
7.1.80.0140.00315.55
7.1.70.0080.00416.43
7.1.60.0120.00617.68
7.1.50.0120.00716.10
7.1.40.0120.00015.90
7.1.30.0120.00315.65
7.1.20.0040.01315.71
7.1.10.0050.00715.68
7.1.00.0050.04219.03
7.0.320.0070.01015.50
7.0.310.0100.00315.29
7.0.300.0090.00815.40
7.0.290.0120.00615.46
7.0.280.0120.00515.21
7.0.270.0100.00715.11
7.0.260.0090.00415.24
7.0.250.0110.00615.41
7.0.240.0090.00915.55
7.0.230.0100.00715.35
7.0.220.0120.00615.52
7.0.210.0040.01115.34
7.0.200.0050.00516.12
7.0.190.0080.00915.11
7.0.180.0080.00815.33
7.0.170.0120.00315.12
7.0.160.0040.00815.47
7.0.150.0120.00015.40
7.0.140.0060.04218.71
7.0.130.0060.00615.26
7.0.120.0090.00615.06
7.0.110.0110.00415.48
7.0.100.0030.00815.00
7.0.90.0100.00315.45
7.0.80.0060.00615.54
7.0.70.0080.00315.35
7.0.60.0020.02517.71
7.0.50.0060.03116.62
7.0.40.0090.04416.84
7.0.30.0170.03216.71
7.0.20.0210.03516.83
7.0.10.0020.02716.77
7.0.00.0070.02416.82
5.6.380.0110.00414.20
5.6.370.0070.01014.27
5.6.360.0100.00314.10
5.6.350.0150.00314.21
5.6.340.0040.01513.82
5.6.330.0100.00513.88
5.6.320.0000.01614.52
5.6.310.0120.00414.50
5.6.300.0120.00314.41
5.6.290.0040.00714.52
5.6.280.0000.04517.61
5.6.270.0040.01114.38
5.6.260.0070.00414.39
5.6.250.0000.01314.21
5.6.240.0060.00314.38
5.6.230.0060.00614.25
5.6.220.0000.00914.09
5.6.210.0100.04717.42
5.6.200.0140.03216.39
5.6.190.0090.02517.38
5.6.180.0230.02817.25
5.6.170.0170.02317.37
5.6.160.0100.04217.41
5.6.150.0030.05016.42
5.6.140.0020.02716.29
5.6.130.0030.04216.23
5.6.120.0030.04817.59
5.6.110.0090.04017.69
5.6.100.0100.04217.59
5.6.90.0020.03317.58
5.6.80.0120.04017.30
5.6.70.0080.00414.32
5.6.60.0070.00714.33
5.6.50.0120.00314.09
5.6.40.0070.00714.24
5.6.30.0040.01114.16
5.6.20.0060.00614.24
5.6.10.0100.00014.60
5.6.00.0000.01414.33
5.5.380.0060.00611.25
5.5.370.0030.00611.25
5.5.360.0000.00511.46
5.5.350.0130.04115.81
5.5.340.0040.03714.49
5.5.330.0070.02815.82
5.5.320.0340.03215.63
5.5.310.0180.04015.55
5.5.300.0070.03514.62
5.5.290.0050.04514.58
5.5.280.0140.03616.09
5.5.270.0030.02515.95
5.5.260.0100.03516.02
5.5.250.0020.02915.95
5.5.240.0080.01715.72
5.5.230.0030.00611.24
5.5.220.0030.00910.87
5.5.210.0030.00811.14
5.5.200.0070.00311.12
5.5.190.0050.00211.22
5.5.180.0040.00411.03
5.5.170.0100.00314.34
5.5.160.0030.00311.16
5.5.150.0070.00310.85
5.5.140.0080.00311.01
5.5.130.0040.00811.14
5.5.120.0030.00711.01
5.5.110.0080.00310.89
5.5.100.0060.00310.99
5.5.90.0090.00011.19
5.5.80.0000.01211.32
5.5.70.0070.00311.17
5.5.60.0080.00011.12
5.5.50.0030.00911.12
5.5.40.0030.00911.11
5.5.30.0000.01011.25
5.5.20.0060.00010.95
5.5.10.0090.00310.86
5.5.00.0030.00711.06
5.4.450.0230.02915.29
5.4.440.0100.04015.20
5.4.430.0240.02415.29
5.4.420.0130.02515.18
5.4.410.0270.03815.09
5.4.400.0310.02315.16
5.4.390.0100.02814.96
5.4.380.0200.03515.00
5.4.370.0130.03314.73
5.4.360.0220.03214.92
5.4.350.0240.03314.90
5.4.340.0130.03614.97
5.4.330.0090.00511.15
5.4.320.0080.01911.79
5.4.310.0050.02311.78
5.4.300.0050.02111.78
5.4.290.0070.02111.88
5.4.280.0070.02011.67
5.4.270.0100.01611.67
5.4.260.0080.01911.69
5.4.250.0070.02111.53
5.4.240.0090.01911.61
5.4.230.0070.02311.51
5.4.220.0040.02111.75
5.4.210.0070.01911.73
5.4.200.0030.02311.71
5.4.190.0090.01911.66
5.4.180.0080.01911.61
5.4.170.0090.01911.69
5.4.160.0060.02211.71
5.4.150.0040.02211.76
5.4.140.0070.02011.63
5.4.130.0060.01911.57
5.4.120.0080.01911.51
5.4.110.0060.02111.57
5.4.100.0060.02011.42
5.4.90.0070.02211.43
5.4.80.0090.02111.64
5.4.70.0100.01611.60
5.4.60.0070.01911.58
5.4.50.0040.02311.46
5.4.40.0070.01811.43
5.4.30.0080.01811.44
5.4.20.0070.02011.42
5.4.10.0050.01911.32
5.4.00.0070.02011.22
5.3.290.0080.02111.68
5.3.280.0070.02211.57
5.3.270.0060.02311.64
5.3.260.0070.02311.55
5.3.250.0020.02411.65
5.3.240.0070.02111.52
5.3.230.0080.02111.56
5.3.220.0040.02311.50
5.3.210.0090.02011.61
5.3.200.0060.02211.59
5.3.190.0070.02111.59
5.3.180.0080.01811.68
5.3.170.0040.02511.70
5.3.160.0110.01811.68
5.3.150.0070.02011.70
5.3.140.0050.02711.62
5.3.130.0090.02111.61
5.3.120.0070.02511.62
5.3.110.0080.02111.62
5.3.100.0090.01811.38
5.3.90.0060.02111.24
5.3.80.0090.01911.20
5.3.70.0090.01811.28
5.3.60.0070.02011.30
5.3.50.0060.02011.31
5.3.40.0060.02111.31
5.3.30.0080.02011.28
5.3.20.0070.02011.19
5.3.10.0070.01811.11
5.3.00.0070.02111.04
5.2.170.0060.0189.76
5.2.160.0050.0209.76
5.2.150.0080.0199.76
5.2.140.0070.0169.76
5.2.130.0040.0189.74
5.2.120.0070.0159.74
5.2.110.0080.0149.74
5.2.100.0060.0189.75
5.2.90.0070.0159.74
5.2.80.0070.0189.74
5.2.70.0050.0189.74
5.2.60.0060.0179.72
5.2.50.0050.0189.70
5.2.40.0070.0149.69
5.2.30.0070.0149.68
5.2.20.0010.0209.67
5.2.10.0040.0189.63
5.2.00.0060.0169.55
5.1.60.0060.0149.20
5.1.50.0070.0139.20
5.1.40.0050.0149.19
5.1.30.0060.0159.36
5.1.20.0040.0169.37
5.1.10.0050.0159.23
5.1.00.0070.0139.24
5.0.50.0040.0118.47
5.0.40.0060.0098.40
5.0.30.0040.0218.31
5.0.20.0050.0098.30
5.0.10.0050.0118.28
5.0.00.0020.0188.28
4.4.90.0020.0107.54
4.4.80.0040.0077.53
4.4.70.0030.0097.53
4.4.60.0030.0097.53
4.4.50.0010.0127.54
4.4.40.0020.0167.51
4.4.30.0030.0107.54
4.4.20.0050.0087.58
4.4.10.0060.0077.58
4.4.00.0040.0137.53
4.3.110.0020.0107.49
4.3.100.0050.0127.49
4.3.90.0040.0127.47
4.3.80.0040.0177.44
4.3.70.0020.0127.47
4.3.60.0040.0127.47
4.3.50.0060.0107.47
4.3.40.0040.0177.42
4.3.30.0020.0146.81
4.3.20.0020.0136.80
4.3.10.0040.0106.77
4.3.00.0050.0128.45

preferences:
40.52 ms | 401 KiB | 5 Q