3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array ( 0 => array ( 'description' => '5390BF675E1464F32202B', 'to_email' => 'test@test.com' ), 1 => array ( 'description' => '5390BF675E1464F32202B', 'to_email' => 'test3@test.com' ), 2 => array ( 'description' => '5390BF675E1464F32202B', 'to_email' => 'testagain@gmail.com' ) ); $array2 = array ( 0 => array ( 'to_email' => 'test@test.com' ), 1 => array ( 'to_email' => 'test3@test.com' ) ); $exclude_ids = array_column($array2, 'to_email', 'to_email'); $output = array_filter($array1, function ($v) use ($exclude_ids) { return !isset($exclude_ids[$v['to_email']]); }); print_r($output);

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.0110.01118.30
8.3.50.0120.00916.66
8.3.40.0080.00819.02
8.3.30.0110.00418.85
8.3.20.0040.00420.78
8.3.10.0040.00423.53
8.3.00.0080.00021.76
8.2.180.0130.00318.13
8.2.170.0150.00018.89
8.2.160.0060.00922.96
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0000.00819.79
8.2.110.0030.00621.18
8.2.100.0090.00317.97
8.2.90.0080.00019.16
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0000.00818.02
8.2.50.0050.00318.07
8.2.40.0080.00018.22
8.2.30.0000.00718.20
8.2.20.0040.00418.25
8.2.10.0020.00519.20
8.2.00.0050.00219.23
8.1.280.0110.00425.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0090.00323.62
8.1.230.0090.00320.99
8.1.220.0070.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00617.23
8.1.190.0040.00417.23
8.1.180.0000.00918.10
8.1.170.0040.00418.75
8.1.160.0050.00318.89
8.1.150.0040.00418.91
8.1.140.0020.00522.47
8.1.130.0030.00320.24
8.1.120.0030.00317.52
8.1.110.0060.00317.52
8.1.100.0040.00417.48
8.1.90.0040.00417.48
8.1.80.0040.00417.44
8.1.70.0040.00417.31
8.1.60.0000.00817.56
8.1.50.0080.00017.43
8.1.40.0000.00817.56
8.1.30.0040.00417.68
8.1.20.0000.00817.72
8.1.10.0000.00717.62
8.1.00.0050.00317.44
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0030.00318.45
8.0.270.0070.00017.97
8.0.260.0060.00019.95
8.0.250.0040.00416.94
8.0.240.0040.00416.94
8.0.230.0070.00016.96
8.0.220.0040.00416.81
8.0.210.0000.00716.77
8.0.200.0040.00417.00
8.0.190.0070.00016.95
8.0.180.0040.00416.93
8.0.170.0040.00416.74
8.0.160.0000.00817.00
8.0.150.0000.00816.70
8.0.140.0000.00716.89
8.0.130.0000.00513.29
8.0.120.0040.00416.89
8.0.110.0030.00316.96
8.0.100.0060.00316.78
8.0.90.0070.00016.77
8.0.80.0060.01516.81
8.0.70.0000.00816.80
8.0.60.0040.00416.72
8.0.50.0020.00516.86
8.0.30.0130.00317.30
8.0.20.0150.00317.14
8.0.10.0030.00516.94
8.0.00.0090.00916.68
7.4.330.0050.00016.73
7.4.320.0030.00316.44
7.4.300.0000.00616.51
7.4.290.0040.00416.43
7.4.280.0000.00816.36
7.4.270.0000.00716.59
7.4.260.0050.00013.26
7.4.250.0030.00316.39
7.4.240.0030.00516.52
7.4.230.0000.00716.51
7.4.220.0030.00316.68
7.4.210.0080.00816.51
7.4.200.0000.00716.54
7.4.130.0100.01316.59
7.4.120.0160.00316.39
7.4.110.0080.00816.45
7.4.100.0060.01616.43
7.4.90.0100.00616.36
7.4.80.0000.01819.39
7.4.70.0100.00716.48
7.4.60.0040.01516.50
7.4.50.0060.00616.31
7.4.40.0030.01316.45
7.4.10.0130.01016.48
7.4.00.0070.01416.41
7.3.330.0030.00516.39
7.3.320.0000.00513.38
7.3.310.0000.00716.19
7.3.300.0030.00316.38
7.3.290.0040.00416.26
7.3.280.0070.01416.32
7.3.260.0180.00316.61
7.3.240.0080.00916.50
7.3.230.0180.00416.52
7.3.210.0110.00716.59
7.3.200.0090.01316.44
7.3.190.0030.01316.52
7.3.180.0100.01316.38
7.3.170.0060.01216.31
7.3.160.0070.01016.47
7.3.130.0060.01516.43
7.3.120.0070.01316.34
7.3.110.0100.00616.44
7.3.100.0100.00716.23
7.3.90.0130.01016.40
7.3.80.0150.00916.37
7.3.70.0000.01516.43
7.3.60.0120.00316.17
7.3.50.0090.00616.23
7.3.40.0120.00316.31
7.3.30.0070.01016.29
7.3.20.0090.00916.42
7.3.10.0090.00916.34
7.3.00.0050.01116.60
7.2.330.0120.01216.46
7.2.320.0090.01216.53
7.2.310.0100.01016.55
7.2.300.0130.00716.79
7.2.290.0120.00416.46
7.2.260.0040.01716.37
7.2.250.0070.01416.49
7.2.240.0130.00616.78
7.2.230.0120.00916.70
7.2.220.0060.01516.47
7.2.210.0050.01116.45
7.2.200.0170.00016.55
7.2.190.0130.00716.61
7.2.180.0060.01216.45
7.2.170.0120.00616.61
7.2.160.0000.01816.49
7.2.150.0110.00716.72
7.2.140.0060.01216.51
7.2.130.0100.00716.48
7.2.120.0100.00816.60
7.2.110.0070.01016.54
7.2.100.0040.01416.49
7.2.90.0000.01816.67
7.2.80.0230.00716.55
7.2.70.0040.01416.48
7.2.60.0120.00616.50
7.2.50.0090.00916.39
7.2.40.0090.00916.60
7.2.30.0030.01416.71
7.2.20.0060.01116.45
7.2.10.0060.01216.57
7.2.00.0120.00616.79

preferences:
73.75 ms | 400 KiB | 5 Q