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]); echo $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.00718.30
8.3.50.0180.00321.15
8.3.40.0150.00318.72
8.3.30.0070.00718.96
8.3.20.0040.00420.04
8.3.10.0050.00320.53
8.3.00.0030.00519.38
8.2.180.0090.00616.63
8.2.170.0080.00622.96
8.2.160.0100.00720.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00022.09
8.2.110.0060.00322.30
8.2.100.0120.00017.91
8.2.90.0000.00817.88
8.2.80.0060.00317.97
8.2.70.0050.00318.05
8.2.60.0080.00018.16
8.2.50.0060.00318.10
8.2.40.0040.00419.30
8.2.30.0080.00019.34
8.2.20.0000.00817.74
8.2.10.0080.00018.02
8.2.00.0060.00317.69
8.1.280.0100.01025.92
8.1.270.0060.00323.91
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00620.99
8.1.230.0070.00322.27
8.1.220.0040.00417.77
8.1.210.0000.00918.77
8.1.200.0060.00317.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.36
8.1.160.0070.00018.84
8.1.150.0040.00418.70
8.1.140.0000.00717.25
8.1.130.0070.00017.75
8.1.120.0040.00317.41
8.1.110.0000.00717.42
8.1.100.0030.00317.45
8.1.90.0000.00717.28
8.1.80.0000.00817.37
8.1.70.0030.00317.34
8.1.60.0050.00317.42
8.1.50.0030.00617.34
8.1.40.0040.00417.39
8.1.30.0030.00617.62
8.1.20.0040.00417.54
8.1.10.0050.00217.50
8.1.00.0020.00517.55
8.0.300.0060.00318.77
8.0.290.0000.00816.63
8.0.280.0000.00718.42
8.0.270.0030.00317.21
8.0.260.0030.00317.16
8.0.250.0000.00716.86
8.0.240.0040.00416.91
8.0.230.0030.00316.77
8.0.220.0030.00316.84
8.0.210.0000.00616.84
8.0.200.0030.00516.85
8.0.190.0000.00816.73
8.0.180.0000.00716.86
8.0.170.0050.00316.85
8.0.160.0000.00716.84
8.0.150.0060.00316.70
8.0.140.0070.00016.84
8.0.130.0040.00413.15
8.0.120.0050.00216.78
8.0.110.0000.00716.82
8.0.100.0050.00216.79
8.0.90.0000.00816.91
8.0.80.0180.00316.77
8.0.70.0040.00416.68
8.0.60.0050.00216.78
8.0.50.0030.00416.66
8.0.30.0110.01117.08
8.0.20.0090.01117.40
8.0.10.0040.00417.01
8.0.00.0120.00616.66
7.4.330.0050.00015.14
7.4.320.0070.00016.49
7.4.300.0060.00016.49
7.4.290.0030.00316.52
7.4.280.0030.00616.48
7.4.270.0040.00416.50
7.4.260.0000.00716.60
7.4.250.0000.00716.54
7.4.240.0030.00316.51
7.4.230.0000.00716.63
7.4.220.0130.00616.62
7.4.210.0070.01416.54
7.4.200.0000.00716.51
7.4.160.0120.00916.34
7.4.150.0150.00317.40
7.4.140.0060.01117.86
7.4.130.0090.00716.39
7.4.120.0130.00516.58
7.4.110.0090.00616.51
7.4.100.0090.00916.50
7.4.90.0080.00916.30
7.4.80.0130.00716.59
7.4.70.0070.01316.60
7.4.60.0080.00816.38
7.4.50.0000.00816.46
7.4.40.0090.00916.39
7.4.30.0110.00516.54
7.4.00.0000.01514.78
7.3.330.0000.00513.21
7.3.320.0060.00013.06
7.3.310.0030.00316.25
7.3.300.0070.00016.28
7.3.290.0040.01116.26
7.3.280.0070.00816.25
7.3.270.0130.00417.40
7.3.260.0120.00416.57
7.3.250.0100.00816.29
7.3.240.0070.01016.40
7.3.230.0030.01316.46
7.3.210.0100.00716.38
7.3.200.0100.00719.39
7.3.190.0030.01916.44
7.3.180.0130.00316.49
7.3.170.0090.01016.27
7.3.160.0040.01216.41
7.3.10.0030.00616.82
7.3.00.0060.00616.64
7.2.330.0090.00916.45
7.2.320.0030.01316.77
7.2.310.0070.01016.75
7.2.300.0140.00316.77
7.2.290.0060.01016.31
7.2.130.0110.00416.86
7.2.120.0000.01516.47
7.2.110.0110.00516.75
7.2.100.0060.00316.48
7.2.90.0130.00616.81
7.2.80.0120.00616.79
7.2.70.0060.00916.94
7.2.60.0060.00916.93
7.2.50.0110.00716.69
7.2.40.0140.00316.87
7.2.30.0120.00816.40
7.2.20.0150.00016.75
7.2.10.0200.00316.69
7.2.00.0030.01118.06
7.1.250.0090.00315.62
7.1.100.0070.00717.81
7.1.70.0050.00217.31
7.1.60.0030.01319.32
7.1.50.0070.01716.55
7.1.00.0030.07722.41
7.0.200.0000.00816.81
7.0.140.0100.06722.08
7.0.60.0000.08720.01
7.0.50.0130.06717.96
7.0.40.0070.05020.07
7.0.30.0270.08020.30
7.0.20.0230.08320.05
7.0.10.0070.04020.09
7.0.00.0070.07320.18
5.6.280.0030.07320.91
5.6.210.0030.05720.62
5.6.200.0070.04318.28
5.6.190.0000.04720.33
5.6.180.0270.03320.51
5.6.170.0270.07720.54
5.6.160.0000.06020.54
5.6.150.0130.05318.19
5.6.140.0000.08718.21
5.6.130.0100.07318.17
5.6.120.0070.08021.11
5.6.110.0100.07320.98
5.6.100.0070.08021.13
5.6.90.0070.05020.98
5.6.80.0130.07720.40
5.6.70.4270.03720.29
5.5.350.0100.08320.38
5.5.340.0030.04717.95
5.5.330.0000.04320.35
5.5.320.0330.08020.34
5.5.310.0270.06720.30
5.5.300.0100.06317.97
5.5.290.0130.06718.03
5.5.280.0070.08320.77
5.5.270.0100.05320.78
5.5.260.0130.08720.75
5.5.250.0070.06320.57
5.5.240.0100.05020.34
5.4.450.0230.06319.16
5.4.440.0330.06019.19
5.4.430.0170.04719.60
5.4.420.0370.04719.30
5.4.410.0270.05719.25
5.4.400.0230.05319.16
5.4.390.0230.05718.98
5.4.380.0500.05318.59
5.4.370.0270.06318.78
5.4.360.0370.05718.74
5.4.350.0400.06318.76
5.4.340.0330.05018.75
5.4.320.0060.04012.48
5.4.310.0060.04512.48
5.4.300.0060.04212.48
5.4.290.0060.03812.48
5.4.280.0080.03312.38
5.4.270.0090.03312.38
5.4.260.0050.03912.38
5.4.250.0060.03812.38
5.4.240.0050.03712.38
5.4.230.0070.03812.37
5.4.220.0030.03812.38
5.4.210.0050.03712.38
5.4.200.0070.03812.38
5.4.190.0080.03512.37
5.4.180.0050.03812.37
5.4.170.0060.03612.38
5.4.160.0060.03512.38
5.4.150.0050.03812.38
5.4.140.0030.04312.05
5.4.130.0070.03712.04
5.4.120.0050.03612.00
5.4.110.0080.03312.00
5.4.100.0080.03312.00
5.4.90.0060.04112.00
5.4.80.0080.03712.00
5.4.70.0050.03512.00
5.4.60.0060.03512.00
5.4.50.0080.03312.00
5.4.40.0050.03811.98
5.4.30.0080.03311.98
5.4.20.0070.03711.98
5.4.10.0060.03511.98
5.4.00.0020.03911.48
5.3.290.0050.03912.80
5.3.280.0060.03712.71
5.3.270.0060.04412.73
5.3.260.0090.04412.72
5.3.250.0070.03512.72
5.3.240.0060.03612.72
5.3.230.0090.03512.71
5.3.220.0040.03812.68
5.3.210.0070.03812.68
5.3.200.0070.03612.68
5.3.190.0070.04312.68
5.3.180.0080.03512.67
5.3.170.0070.03812.66
5.3.160.0070.03712.67
5.3.150.0050.04012.67
5.3.140.0060.03712.66
5.3.130.0060.04012.66
5.3.120.0070.03912.66
5.3.110.0060.04012.66
5.3.100.0040.04112.12
5.3.90.0110.04612.09
5.3.80.0050.03712.09
5.3.70.0070.03812.09
5.3.60.0070.03812.07
5.3.50.0030.03912.02
5.3.40.0130.03412.02
5.3.30.0100.03911.98
5.3.20.0050.03711.76
5.3.10.0070.03511.73
5.3.00.0030.03911.71
5.2.170.0020.0339.21
5.2.160.0060.0289.21
5.2.150.0040.0319.21
5.2.140.0050.0309.21
5.2.130.0030.0319.17
5.2.120.0060.0289.18
5.2.110.0050.0359.18
5.2.100.0080.0289.17
5.2.90.0060.0399.18
5.2.80.0030.0439.17
5.2.70.0090.0399.17
5.2.60.0050.0309.13
5.2.50.0070.0289.10
5.2.40.0040.0299.07
5.2.30.0050.0299.04
5.2.20.0060.0279.04
5.2.10.0010.0318.94
5.2.00.0050.0288.80
5.1.60.0030.0258.09
5.1.50.0030.0328.08
5.1.40.0040.0258.07
5.1.30.0040.0268.42
5.1.20.0040.0278.44
5.1.10.0070.0238.16
5.1.00.0050.0298.16
5.0.50.0030.0216.64
5.0.40.0020.0216.50
5.0.30.0040.0306.32
5.0.20.0030.0206.28
5.0.10.0020.0206.26
5.0.00.0060.0276.25
4.4.90.0040.0144.77
4.4.80.0010.0174.75
4.4.70.0040.0154.76
4.4.60.0020.0174.75
4.4.50.0040.0154.77
4.4.40.0040.0244.71
4.4.30.0010.0184.76
4.4.20.0040.0204.85
4.4.10.0030.0204.85
4.4.00.0020.0254.76
4.3.110.0020.0164.66
4.3.100.0040.0144.66
4.3.90.0040.0134.64
4.3.80.0010.0264.58
4.3.70.0030.0154.63
4.3.60.0020.0164.62
4.3.50.0030.0154.63
4.3.40.0030.0234.54
4.3.30.0030.0153.30
4.3.20.0040.0133.28
4.3.10.0020.0163.23
4.3.00.0030.0236.59

preferences:
54.64 ms | 401 KiB | 5 Q