3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array( array('name' => 'asdfjkl;', 'value' => 'foo'), array('name' => 'qwerty', 'value' => 'bar'), array('name' => 'uiop', 'value' => 'baz'), ); $arr2 = array( array('name' => 'zxcv', 'value' => 'stuff'), array('name' => 'asdfjkl;', 'value' => 'foo'), array('name' => '12345', 'value' => 'junk'), array('name' => 'uiop', 'value' => 'baz'), ); $intersect = array_uintersect($arr1, $arr2, 'compareDeepValue'); print_r($intersect); function compareDeepValue($val1, $val2) { return strcmp($val1['value'], $val2['value']); }

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.54
8.3.30.0110.00419.08
8.3.20.0060.00320.40
8.3.10.0080.00023.66
8.3.00.0050.00320.80
8.2.170.0140.00022.96
8.2.160.0170.00320.35
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00022.13
8.2.110.0000.00822.09
8.2.100.0000.01117.91
8.2.90.0040.00418.82
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0000.00817.93
8.2.50.0080.00018.07
8.2.40.0030.00618.22
8.2.30.0000.00918.13
8.2.20.0040.00417.66
8.2.10.0000.00817.64
8.2.00.0040.00417.66
8.1.270.0040.00422.02
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00323.92
8.1.230.0080.00319.14
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00817.35
8.1.190.0040.00417.40
8.1.180.0000.00918.10
8.1.170.0030.00618.46
8.1.160.0000.00821.96
8.1.150.0050.00218.53
8.1.140.0040.00417.32
8.1.130.0040.00417.71
8.1.120.0030.00417.30
8.1.110.0040.00417.42
8.1.100.0000.00717.41
8.1.90.0040.00317.43
8.1.80.0030.00617.42
8.1.70.0040.00417.39
8.1.60.0040.00417.53
8.1.50.0040.00417.46
8.1.40.0050.00317.37
8.1.30.0050.00317.58
8.1.20.0000.00717.59
8.1.10.0000.00717.59
8.1.00.0030.00517.48
8.0.300.0070.00018.77
8.0.290.0050.00317.03
8.0.280.0030.00318.27
8.0.270.0000.00817.16
8.0.260.0000.00716.72
8.0.250.0070.00016.93
8.0.240.0000.00716.92
8.0.230.0060.00316.87
8.0.220.0000.00716.73
8.0.210.0070.00016.76
8.0.200.0030.00316.90
8.0.190.0040.00416.92
8.0.180.0040.00416.87
8.0.170.0050.00316.87
8.0.160.0000.00716.74
8.0.150.0040.00416.66
8.0.140.0040.00316.84
8.0.130.0000.00613.31
8.0.120.0040.00416.69
8.0.110.0000.00716.79
8.0.100.0040.00416.82
8.0.90.0040.00416.72
8.0.80.0130.00916.85
8.0.70.0040.00416.74
8.0.60.0060.00316.69
8.0.50.0080.00016.91
8.0.30.0100.01317.03
8.0.20.0150.00417.40
8.0.10.0000.00816.96
8.0.00.0110.00916.86
7.4.330.0030.00315.08
7.4.320.0050.00316.54
7.4.300.0030.00316.37
7.4.290.0040.00416.47
7.4.280.0000.00716.54
7.4.270.0030.00316.54
7.4.260.0000.00816.38
7.4.250.0080.00016.50
7.4.240.0020.00516.52
7.4.230.0030.00316.57
7.4.220.0070.01516.64
7.4.210.0100.00516.50
7.4.200.0050.00216.62
7.4.190.0030.00516.33
7.4.160.0130.00316.25
7.4.150.0060.01817.40
7.4.140.0110.00617.86
7.4.130.0070.00916.34
7.4.120.0090.00816.44
7.4.110.0080.00816.42
7.4.100.0060.01216.38
7.4.90.0100.00716.54
7.4.80.0110.00919.39
7.4.70.0150.00316.34
7.4.60.0090.00916.36
7.4.50.0090.00716.39
7.4.40.0070.01218.41
7.4.30.0180.00616.36
7.4.20.0140.01016.25
7.4.10.0110.01116.39
7.4.00.0070.00915.81
7.3.330.0000.00613.24
7.3.320.0050.00013.07
7.3.310.0030.00316.27
7.3.300.0000.00716.30
7.3.290.0040.01116.23
7.3.280.0080.01116.23
7.3.270.0090.00917.40
7.3.260.0100.00716.53
7.3.250.0110.00616.26
7.3.240.0080.00816.42
7.3.230.0130.00316.39
7.3.210.0030.01416.42
7.3.200.0070.01019.39
7.3.190.0030.01316.57
7.3.180.0120.01116.23
7.3.170.0150.00916.39
7.3.160.0170.00716.16
7.3.150.0140.01216.46
7.3.140.0190.00516.04
7.3.130.0110.01015.95
7.3.120.0130.00615.65
7.3.110.0140.01116.21
7.3.100.0160.00815.98
7.3.90.0110.00816.06
7.3.80.0150.00815.99
7.3.70.0140.01016.08
7.3.60.0140.00615.41
7.3.50.0100.01016.13
7.3.40.0000.01716.37
7.3.30.0090.00916.07
7.3.20.0090.01016.18
7.3.10.0180.00316.23
7.3.00.0190.00316.37
7.2.330.0070.01016.57
7.2.320.0100.01016.57
7.2.310.0250.00616.21
7.2.300.0130.01316.29
7.2.290.0220.00416.65
7.2.280.0120.01216.40
7.2.270.0180.00416.56
7.2.260.0140.01216.33
7.2.250.0200.00316.12
7.2.240.0140.01116.20
7.2.230.0150.01016.64
7.2.220.0120.01216.27
7.2.210.0180.00316.26
7.2.200.0130.01016.39
7.2.190.0130.01016.48
7.2.180.0100.01016.25
7.2.170.0090.00916.41
7.2.160.0050.01316.36
7.2.150.0180.00716.59
7.2.140.0100.01016.50
7.2.130.0040.01316.36
7.2.120.0250.00716.54
7.2.110.0100.01316.44
7.2.100.0080.01216.75
7.2.90.0190.00316.52
7.2.80.0170.00416.33
7.2.70.0140.01416.21
7.2.60.0080.00816.49
7.2.50.0170.00416.18
7.2.40.0120.00816.56
7.2.30.0230.00616.18
7.2.20.0120.01616.46
7.2.10.0310.00016.40
7.2.00.0070.01017.61
7.1.330.0240.00015.53
7.1.320.0190.00315.57
7.1.310.0140.00715.80
7.1.300.0130.00915.40
7.1.290.0170.00315.51
7.1.280.0090.00915.64
7.1.270.0160.00915.38
7.1.260.0130.00615.47
7.1.250.0090.00915.35
7.1.240.0180.01115.41
7.1.230.0120.00915.42
7.1.220.0140.00715.39
7.1.210.0210.00315.24
7.1.200.0080.00615.33
7.1.190.0130.00615.52
7.1.180.0170.00715.39
7.1.170.0160.01015.10
7.1.160.0130.00515.29
7.1.150.0110.00815.47
7.1.140.0130.00815.60
7.1.130.0140.01115.34
7.1.120.0210.00315.35
7.1.110.0180.00315.55
7.1.100.0090.00616.64
7.1.90.0130.00915.60
7.1.80.0110.00815.49
7.1.70.0080.00816.21
7.1.60.0120.01017.30
7.1.50.0120.00716.27
7.1.40.0200.00015.45
7.1.30.0160.00315.33
7.1.20.0110.01115.49
7.1.10.0160.00815.62
7.1.00.0090.04418.98
7.0.330.0160.00414.98
7.0.320.0090.00915.09
7.0.310.0160.00315.16
7.0.300.0040.01314.96
7.0.290.0080.00815.10
7.0.280.0130.00614.97
7.0.270.0140.00715.22
7.0.260.0200.00015.05
7.0.250.0170.01015.01
7.0.240.0160.00315.17
7.0.230.0130.00414.91
7.0.220.0150.00415.26
7.0.210.0160.00314.99
7.0.200.0210.00716.05
7.0.190.0150.00415.05
7.0.180.0090.00914.60
7.0.170.0120.00615.13
7.0.160.0160.01015.21
7.0.150.0120.01315.12
7.0.140.0100.04018.71
7.0.130.0200.00015.19
7.0.120.0190.00314.96
7.0.110.0100.01015.12
7.0.100.0080.04517.42
7.0.90.0070.03018.38
7.0.80.0150.04317.57
7.0.70.0130.03417.50
7.0.60.0090.04017.64
7.0.50.0140.03017.68
7.0.40.0200.02817.62
7.0.30.0150.03617.59
7.0.20.0050.05217.49
7.0.10.0080.04817.60
7.0.00.0110.03017.61
5.6.400.0070.01415.68
5.6.390.0000.02016.01
5.6.380.0120.01315.85
5.6.370.0100.01015.78
5.6.360.0110.01115.98
5.6.350.0160.00515.98
5.6.340.0140.00815.95
5.6.330.0040.01615.88
5.6.320.0160.00615.74
5.6.310.0180.00515.93
5.6.300.0150.01116.06
5.6.290.0120.01215.43
5.6.280.0120.03918.44
5.6.270.0210.00215.85
5.6.260.0140.00915.85
5.6.250.0100.04718.21
5.6.240.0060.04018.26
5.6.230.0100.03518.17
5.6.220.0110.03118.14
5.6.210.0180.04018.26
5.6.200.0150.03118.52
5.6.190.0110.04318.52
5.6.180.0090.04918.45
5.6.170.0120.04718.40
5.6.160.0140.04318.33
5.6.150.0130.04518.43
5.6.140.0070.04918.39
5.6.130.0150.04318.38
5.6.120.0200.02818.41
5.6.110.0160.04218.38
5.6.100.0090.03018.45
5.6.90.0080.04918.57
5.6.80.0120.02718.08
5.6.70.0050.04718.13
5.6.60.0100.02718.12
5.6.50.0120.04118.20
5.6.40.0070.04618.05
5.6.30.0120.03718.03
5.6.20.0130.03818.00
5.6.10.0060.05118.14
5.6.00.0150.03918.03
5.5.380.0120.04618.07
5.5.370.0100.05218.21
5.5.360.0070.04618.12
5.5.350.0110.04618.11
5.5.340.0150.03918.29
5.5.330.0080.04818.16
5.5.320.0210.03218.32
5.5.310.0050.05318.39
5.5.300.0150.04018.35
5.5.290.0160.04018.33
5.5.280.0090.05018.26
5.5.270.0150.04318.46
5.5.260.0100.03118.41
5.5.250.0110.02618.06
5.5.240.0050.04818.02
5.5.230.0080.03618.00
5.5.220.0120.04217.92
5.5.210.0090.04617.94
5.5.200.0120.04018.08
5.5.190.0090.04518.00
5.5.180.0110.04517.98
5.5.170.0180.00915.71
5.5.160.0180.03717.83
5.5.150.0130.04317.97
5.5.140.0120.04517.78
5.5.130.0140.03817.84
5.5.120.0080.04518.03
5.5.110.0090.04617.85
5.5.100.0090.04417.93
5.5.90.0150.03817.78
5.5.80.0120.04117.93
5.5.70.0190.03617.88
5.5.60.0140.04317.71
5.5.50.0040.03217.74
5.5.40.0120.03517.79
5.5.30.0080.02617.96
5.5.20.0130.03417.82
5.5.10.0140.04117.81
5.5.00.0120.04017.81
5.4.450.0140.04016.06
5.4.440.0090.04816.10
5.4.430.0090.03115.93
5.4.420.0100.03416.00
5.4.410.0110.02516.03
5.4.400.0050.04415.88
5.4.390.0070.04315.79
5.4.380.0090.03815.77
5.4.370.0070.04115.87
5.4.360.0080.04515.69
5.4.350.0140.03215.87
5.4.340.0060.04315.76
5.4.330.0100.00612.55
5.4.320.0100.04015.68
5.4.310.0100.03416.01
5.4.300.0070.04515.79
5.4.290.0070.03615.76
5.4.280.0070.03615.97
5.4.270.0080.03915.88
5.4.260.0070.03615.71
5.4.250.0050.04615.75
5.4.240.0070.04315.77
5.4.230.0090.04315.75
5.4.220.0110.02015.78
5.4.210.0120.03815.60
5.4.200.0090.03915.83
5.4.190.0090.03715.58
5.4.180.0070.04415.99
5.4.170.0110.02515.76
5.4.160.0110.03515.73
5.4.150.0090.02715.75
5.4.140.0090.03414.37
5.4.130.0080.03514.43
5.4.120.0060.03114.55
5.4.110.0080.02314.53
5.4.100.0070.03414.58
5.4.90.0110.02314.65
5.4.80.0090.02114.49
5.4.70.0080.02514.50
5.4.60.0160.04014.43
5.4.50.0090.03314.51
5.4.40.0110.02714.51
5.4.30.0140.03514.55
5.4.20.0080.03014.48
5.4.10.0110.04114.54
5.4.00.0150.02814.21
5.3.290.0040.04413.90
5.3.280.0190.01713.80
5.3.270.0140.03313.87
5.3.260.0110.04013.93
5.3.250.0050.02913.77
5.3.240.0110.03413.82
5.3.230.0170.02013.81
5.3.220.0100.03713.71
5.3.210.0070.04313.78
5.3.200.0100.02513.83
5.3.190.0100.02713.84
5.3.180.0070.04113.99
5.3.170.0140.02313.97
5.3.160.0070.04413.75
5.3.150.0050.02513.93
5.3.140.0050.03013.75
5.3.130.0070.04513.73
5.3.120.0090.04013.87
5.3.110.0140.02213.83
5.3.100.0090.04013.59
5.3.90.0100.02513.58
5.3.80.0100.03213.53
5.3.70.0070.03513.44
5.3.60.0100.03513.46
5.3.50.0060.03913.54
5.3.40.0100.04213.50
5.3.30.0030.02913.47
5.3.20.0110.02213.46
5.3.10.0120.04213.34
5.3.00.0090.03913.26

preferences:
50.48 ms | 400 KiB | 5 Q