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]); 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.40.0110.00418.57
8.3.30.0120.00818.90
8.3.20.0000.00820.22
8.3.10.0050.00320.52
8.3.00.0040.00419.38
8.2.170.0130.00422.96
8.2.160.0110.00420.54
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0000.00822.09
8.2.110.0060.00322.18
8.2.100.0040.00817.91
8.2.90.0030.00519.08
8.2.80.0070.00317.97
8.2.70.0050.00317.38
8.2.60.0040.00417.79
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0040.00419.32
8.2.20.0000.00817.61
8.2.10.0040.00418.05
8.2.00.0050.00317.66
8.1.270.0040.00423.84
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.81
8.1.230.0070.00319.08
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0000.00817.10
8.1.190.0030.00517.23
8.1.180.0050.00218.10
8.1.170.0040.00418.55
8.1.160.0070.00021.99
8.1.150.0070.00018.74
8.1.140.0070.00017.39
8.1.130.0040.00417.82
8.1.120.0040.00417.30
8.1.110.0000.00817.39
8.1.100.0040.00417.39
8.1.90.0030.00317.36
8.1.80.0000.00717.29
8.1.70.0030.00317.41
8.1.60.0060.00317.54
8.1.50.0080.00017.35
8.1.40.0060.00317.45
8.1.30.0000.00817.44
8.1.20.0000.00717.53
8.1.10.0040.00417.65
8.1.00.0060.00317.41
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0000.00817.21
8.0.260.0060.00017.12
8.0.250.0030.00316.91
8.0.240.0000.00816.89
8.0.230.0000.00816.96
8.0.220.0000.00716.82
8.0.210.0000.00716.79
8.0.200.0080.00016.86
8.0.190.0030.00516.91
8.0.180.0030.00316.75
8.0.170.0070.00016.78
8.0.160.0050.00316.89
8.0.150.0060.00316.82
8.0.140.0040.00416.71
8.0.130.0000.00713.23
8.0.120.0000.00816.70
8.0.110.0000.00816.80
8.0.100.0000.00716.64
8.0.90.0030.00516.77
8.0.80.0130.00916.86
8.0.70.0040.00416.94
8.0.60.0040.00416.70
8.0.50.0040.00416.71
8.0.30.0090.00916.81
8.0.20.0130.00617.40
8.0.10.0030.00516.93
8.0.00.0100.00716.63
7.4.330.0050.00015.07
7.4.320.0000.00816.61
7.4.300.0030.00316.61
7.4.290.0000.00716.50
7.4.280.0030.00616.61
7.4.270.0030.00416.66
7.4.260.0000.00716.47
7.4.250.0050.00216.48
7.4.240.0030.00316.52
7.4.230.0030.00316.52
7.4.220.0110.00716.54
7.4.210.0070.00716.61
7.4.200.0030.00316.63
7.4.160.0150.00316.58
7.4.150.0080.01517.40
7.4.140.0100.00717.86
7.4.130.0110.00616.49
7.4.120.0080.01216.54
7.4.110.0080.00816.55
7.4.100.0140.00316.52
7.4.90.0080.00816.48
7.4.80.0080.01116.52
7.4.70.0060.00916.48
7.4.60.0060.00916.55
7.4.50.0040.00416.23
7.4.40.0000.02116.58
7.4.30.0060.01016.52
7.4.10.0090.01216.63
7.4.00.0020.01615.67
7.3.330.0050.00013.17
7.3.320.0000.00513.21
7.3.310.0000.00716.16
7.3.300.0000.00616.28
7.3.290.0070.00716.21
7.3.280.0030.01516.20
7.3.270.0100.00917.40
7.3.260.0080.00816.36
7.3.250.0110.00516.24
7.3.240.0100.00716.45
7.3.230.0090.00916.43
7.3.210.0170.00016.21
7.3.200.0160.00619.39
7.3.190.0110.00616.46
7.3.180.0060.01016.45
7.3.170.0080.00816.39
7.3.160.0100.00716.29
7.3.130.0100.00716.05
7.3.120.0060.01316.36
7.3.110.0060.00916.25
7.3.100.0040.01216.48
7.3.90.0000.01216.16
7.3.80.0080.01116.25
7.3.70.0070.00716.15
7.3.60.0040.01116.36
7.3.50.0060.00916.35
7.3.40.0060.00916.29
7.3.30.0110.00416.20
7.3.20.0100.00718.09
7.3.10.0000.01417.98
7.3.00.0030.00718.11
7.2.330.0090.00916.39
7.2.320.0100.00716.55
7.2.310.0030.01416.27
7.2.300.0090.00916.32
7.2.290.0030.01416.35
7.2.260.0090.00616.41
7.2.250.0140.00716.66
7.2.240.0060.01116.65
7.2.230.0000.01316.46
7.2.220.0100.00616.63
7.2.210.0080.01116.63
7.2.200.0070.01016.23
7.2.190.0040.01116.54
7.2.180.0070.00716.38
7.2.170.0060.00916.40
7.2.160.0070.00716.61
7.2.150.0070.01018.44
7.2.140.0070.01018.41
7.2.130.0060.01318.11
7.2.120.0040.01118.34
7.2.110.0060.00618.42
7.2.100.0060.01018.38
7.2.90.0000.01318.26
7.2.80.0090.00618.09
7.2.70.0090.00318.27
7.2.60.0070.01018.29
7.2.50.0070.01018.07
7.2.40.0070.00718.52
7.2.30.0060.01018.27
7.2.20.0080.00318.26
7.2.10.0110.00418.35
7.2.00.0060.00918.54
7.1.330.0110.00317.32
7.1.320.0130.00317.53
7.1.310.0070.00717.30
7.1.300.0070.01017.22
7.1.290.0060.00617.38
7.1.280.0030.01217.30
7.1.270.0030.00917.44
7.1.260.0120.00417.39
7.1.250.0040.00717.39
7.1.240.0040.01117.41
7.1.230.0070.00717.14
7.1.220.0070.00717.36
7.1.210.0000.01117.27
7.1.200.0050.00716.61
7.1.190.0060.00917.25
7.1.180.0030.01317.31
7.1.170.0130.00617.20
7.1.160.0030.01017.36
7.1.150.0090.00717.16
7.1.140.0040.00817.23
7.1.130.0060.00317.25
7.1.120.0140.00017.44
7.1.110.0030.00717.30
7.1.100.0020.00917.64
7.1.90.0070.00717.38
7.1.80.0070.01017.36
7.1.70.0030.01017.10
7.1.60.0080.01018.25
7.1.50.0070.01117.04
7.1.40.0080.00317.38
7.1.30.0000.01417.24
7.1.20.0110.00417.24
7.1.10.0070.00717.25
7.1.00.0050.04319.87
7.0.330.0030.01017.00
7.0.320.0090.00616.95
7.0.310.0040.01117.04
7.0.300.0100.00016.69
7.0.290.0060.00616.93
7.0.280.0030.01516.57
7.0.270.0120.00316.90
7.0.260.0040.00817.00
7.0.250.0090.00617.00
7.0.240.0070.00316.91
7.0.230.0030.01016.98
7.0.220.0000.01617.07
7.0.210.0060.00616.93
7.0.200.0050.00816.80
7.0.190.0000.01417.17
7.0.180.0110.00416.85
7.0.170.0000.01516.95
7.0.160.0040.00717.00
7.0.150.0100.00616.93
7.0.140.0050.03819.50
7.0.130.0030.01217.13
7.0.120.0030.00916.88
7.0.110.0000.01216.96
7.0.100.0090.00317.15
7.0.90.0060.00616.95
7.0.80.0070.01016.92
7.0.70.0030.00616.88
7.0.60.0070.02518.41
7.0.50.0060.03317.48
7.0.40.0050.04917.55
7.0.30.0280.03817.57
7.0.20.0170.02917.50
7.0.10.0100.02017.54
7.0.00.0050.04717.55
5.6.400.0060.01015.96
5.6.390.0080.00415.92
5.6.380.0070.01016.12
5.6.370.0060.00616.05
5.6.360.0000.01315.82
5.6.350.0100.00315.47
5.6.340.0130.00615.64
5.6.330.0070.01016.17
5.6.320.0030.00916.11
5.6.310.0040.01515.76
5.6.300.0080.00315.99
5.6.290.0070.00715.88
5.6.280.0060.03618.24
5.6.270.0040.00815.99
5.6.260.0000.01015.53
5.6.250.0090.00615.86
5.6.240.0070.00715.75
5.6.230.0030.00615.92
5.6.220.0090.00616.11
5.6.210.0110.03518.21
5.6.200.0070.03817.01
5.6.190.0050.02218.22
5.6.180.0120.02318.14
5.6.170.0200.04518.11
5.6.160.0090.04118.21
5.6.150.0120.03517.08
5.6.140.0100.04017.17
5.6.130.0100.02516.95
5.6.120.0050.04718.41
5.6.110.0080.04118.33
5.6.100.0080.04518.47
5.6.90.0180.03118.41
5.6.80.0080.02318.05
5.6.70.2720.02718.19
5.6.60.0060.01015.75
5.6.50.0120.00615.73
5.6.40.0070.00715.99
5.6.30.0030.00715.77
5.6.20.0040.01215.66
5.6.10.0030.01415.68
5.6.00.0110.00015.69
5.5.380.0050.00515.81
5.5.370.0000.01415.95
5.5.360.0070.00715.50
5.5.350.0030.03818.03
5.5.340.0030.04717.03
5.5.330.0000.02817.97
5.5.320.0200.04018.00
5.5.310.0190.02817.99
5.5.300.0110.04316.99
5.5.290.0170.02716.84
5.5.280.0050.04318.37
5.5.270.0020.03018.46
5.5.260.0050.04818.37
5.5.250.0100.02818.09
5.5.240.0020.04417.94
5.5.230.0030.01515.74
5.5.220.0030.01215.64
5.5.210.0060.00915.72
5.5.200.0070.00715.79
5.5.190.0030.00715.65
5.5.180.0060.01015.71
5.5.170.0070.00715.54
5.5.160.0030.01415.82
5.5.150.0060.00315.73
5.5.140.0070.00715.68
5.5.130.0070.00715.61
5.5.120.0070.00715.77
5.5.110.0090.00615.75
5.5.100.0030.00915.71
5.5.90.0100.00715.73
5.5.80.0030.00715.73
5.5.70.0060.00915.59
5.5.60.0080.00815.73
5.5.50.0030.00715.75
5.5.40.0040.00815.69
5.5.30.0070.00715.46
5.5.20.0030.01015.53
5.5.10.0060.00615.64
5.5.00.0040.01115.50
5.4.450.0120.03716.22
5.4.440.0130.03316.03
5.4.430.0220.02815.94
5.4.420.0190.02916.07
5.4.410.0180.03016.14
5.4.400.0220.02915.86
5.4.390.0220.03015.94
5.4.380.0180.03015.74
5.4.370.0130.03015.63
5.4.360.0120.03615.71
5.4.350.0180.03015.68
5.4.340.0200.02715.74
5.4.330.0050.00312.73
5.4.320.0060.02412.61
5.4.310.0040.02312.61
5.4.300.0040.02312.61
5.4.290.0050.02412.61
5.4.280.0050.02212.56
5.4.270.0060.02012.55
5.4.260.0040.02212.55
5.4.250.0020.02312.56
5.4.240.0050.02312.60
5.4.230.0030.02612.55
5.4.220.0020.02612.55
5.4.210.0020.02612.55
5.4.200.0060.02212.55
5.4.190.0070.01912.55
5.4.180.0050.01912.55
5.4.170.0020.02412.59
5.4.160.0040.02212.55
5.4.150.0020.02412.55
5.4.140.0070.02112.39
5.4.130.0050.02012.39
5.4.120.0020.02212.41
5.4.110.0040.02212.36
5.4.100.0090.02412.36
5.4.90.0060.02312.38
5.4.80.0070.02012.36
5.4.70.0060.02112.36
5.4.60.0050.02312.36
5.4.50.0040.02212.36
5.4.40.0050.01812.38
5.4.30.0040.02112.38
5.4.20.0060.01912.36
5.4.10.0050.02112.36
5.4.00.0040.02012.10
5.3.290.0070.03812.80
5.3.280.0080.03712.71
5.3.270.0090.03612.72
5.3.260.0050.04012.72
5.3.250.0080.03912.72
5.3.240.0070.03712.72
5.3.230.0070.03612.70
5.3.220.0090.04112.68
5.3.210.0090.05012.68
5.3.200.0060.03712.68
5.3.190.0070.03712.68
5.3.180.0050.03712.68
5.3.170.0050.03712.67
5.3.160.0060.03712.67
5.3.150.0050.03812.68
5.3.140.0070.03812.66
5.3.130.0080.03812.66
5.3.120.0100.03912.66
5.3.110.0060.03812.66
5.3.100.0060.03612.12
5.3.90.0090.03912.09
5.3.80.0050.03712.09
5.3.70.0040.03712.09
5.3.60.0060.03612.07
5.3.50.0040.04012.02
5.3.40.0090.03812.02
5.3.30.0070.03411.98
5.3.20.0050.03611.75
5.3.10.0070.03411.72
5.3.00.0060.03611.71
5.2.170.0080.0279.21
5.2.160.0020.0329.21
5.2.150.0030.0329.21
5.2.140.0030.0339.21
5.2.130.0060.0279.17
5.2.120.0070.0269.17
5.2.110.0070.0279.18
5.2.100.0020.0329.18
5.2.90.0100.0279.17
5.2.80.0050.0309.17
5.2.70.0040.0309.17
5.2.60.0060.0319.13
5.2.50.0060.0289.09
5.2.40.0060.0289.07
5.2.30.0070.0329.04
5.2.20.0050.0339.04
5.2.10.0040.0368.95
5.2.00.0040.0298.80
5.1.60.0070.0248.09
5.1.50.0040.0258.08
5.1.40.0030.0318.07
5.1.30.0060.0258.42
5.1.20.0030.0288.44
5.1.10.0050.0258.16
5.1.00.0020.0288.16
5.0.50.0040.0206.64
5.0.40.0030.0196.50
5.0.30.0030.0316.32
5.0.20.0030.0206.29
5.0.10.0060.0176.25
5.0.00.0050.0306.25
4.4.90.0040.0144.78
4.4.80.0030.0154.75
4.4.70.0010.0174.75
4.4.60.0020.0164.76
4.4.50.0030.0184.77
4.4.40.0040.0254.70
4.4.30.0040.0144.76
4.4.20.0010.0174.84
4.4.10.0040.0144.85
4.4.00.0060.0224.76
4.3.110.0050.0204.67
4.3.100.0010.0174.66
4.3.90.0030.0144.63
4.3.80.0030.0244.58
4.3.70.0020.0154.63
4.3.60.0020.0154.63
4.3.50.0030.0154.63
4.3.40.0040.0224.54
4.3.30.0040.0143.30
4.3.20.0020.0163.28
4.3.10.0030.0153.24
4.3.00.0030.0276.59

preferences:
45.06 ms | 400 KiB | 5 Q