3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arraya = array( 'http://www.simplyathome.nl/partners/' => array( 'links' => array( 'http://www.eerenstein.nl/assortiment/goedkope-sigma-verf', 'https://www.kooistra-detectors.eu/', ), ), 'http://www.helex.nl/links/' => array( 'links' => array( 'https://www.kooistra-detectors.eu/', 'http://www.debruidslakei.nl/bruidsmode-alkmaar/', 'https://kubes.nl/', ), ), ); $arrayb = array( 'http://www.simplyathome.nl/partners/' => array( 'links' => array( 'https://www.google.nl/', 'http://www.eerenstein.nl/assortiment/goedkope-sigma-verf', ), ), 'http://www.helex.nl/links/' => array( 'links' => array( 'https://facebook.nl/', 'https://www.kooistra-detectors.eu/', 'http://www.debruidslakei.nl/bruidsmode-alkmaar/', //'https://kubes.nl/', 'http://example.com/', ), ), ); $final = array(); foreach ($arrayb as $keyb => $valueb) { if (in_array($valueb, $arraya)) { unset($arraya[$keyb][$valueb]); //$final[$keya][$valuea]; } } //$arrayb = array_values($arrayb); print_r($arraya);

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.0150.00618.30
8.3.50.0070.01016.25
8.3.40.0170.00318.59
8.3.30.0220.00018.51
8.3.20.0100.00321.91
8.3.10.0040.00423.48
8.3.00.0000.00819.42
8.2.180.0110.00618.01
8.2.170.0110.00322.96
8.2.160.0070.00720.43
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00020.39
8.2.120.0050.00326.35
8.2.110.0070.00321.18
8.2.100.0080.00417.84
8.2.90.0030.00717.90
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0060.00317.96
8.2.50.0080.00018.10
8.2.40.0040.00420.55
8.2.30.0070.00019.28
8.2.20.0050.00218.02
8.2.10.0000.00718.14
8.2.00.0070.00018.05
8.1.280.0090.00625.92
8.1.270.0040.00418.88
8.1.260.0000.00826.35
8.1.250.0030.00628.09
8.1.240.0090.00019.28
8.1.230.0120.00022.75
8.1.220.0030.00617.75
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0080.00017.10
8.1.180.0000.00818.10
8.1.170.0030.00518.75
8.1.160.0000.00718.91
8.1.150.0040.00420.32
8.1.140.0000.00719.55
8.1.130.0000.00718.82
8.1.120.0070.00017.43
8.1.110.0050.00217.51
8.1.100.0000.00717.37
8.1.90.0000.00717.52
8.1.80.0070.00017.52
8.1.70.0030.00317.46
8.1.60.0050.00217.55
8.1.50.0040.00417.59
8.1.40.0040.00417.52
8.1.30.0000.00717.59
8.1.20.0040.00417.61
8.1.10.0070.00017.49
8.1.00.0040.00417.29
8.0.300.0050.00321.50
8.0.290.0000.00816.63
8.0.280.0000.00818.34
8.0.270.0040.00416.84
8.0.260.0030.00318.89
8.0.250.0030.00317.04
8.0.240.0040.00416.94
8.0.230.0030.00616.86
8.0.220.0030.00316.82
8.0.210.0000.00716.80
8.0.200.0040.00417.00
8.0.190.0030.00516.94
8.0.180.0000.00716.94
8.0.170.0040.00416.93
8.0.160.0000.00816.77
8.0.150.0030.00316.77
8.0.140.0080.00016.84
8.0.130.0060.00013.38
8.0.120.0040.00416.80
8.0.110.0040.00416.76
8.0.100.0000.00716.87
8.0.90.0070.00016.77
8.0.80.0060.01516.86
8.0.70.0020.00516.80
8.0.60.0020.00516.91
8.0.50.0040.00416.89
8.0.30.0090.00817.09
8.0.20.0130.00917.40
8.0.10.0000.00717.10
8.0.00.0120.00616.61
7.4.330.0030.00315.55
7.4.320.0030.00316.46
7.4.300.0030.00316.61
7.4.290.0000.00716.52
7.4.280.0040.00416.66
7.4.270.0070.00016.48
7.4.260.0000.00716.64
7.4.250.0030.00616.48
7.4.240.0000.00716.60
7.4.230.0070.00016.42
7.4.220.0090.01216.46
7.4.210.0070.00716.42
7.4.200.0030.00316.37
7.4.160.0110.00516.40
7.4.150.0120.00617.40
7.4.140.0110.00617.86
7.4.130.0120.00616.38
7.4.120.0130.00716.58
7.4.110.0080.00916.37
7.4.100.0100.01316.62
7.4.90.0150.00616.56
7.4.80.0130.00719.39
7.4.70.0150.00616.39
7.4.60.0090.00916.45
7.4.50.0000.01716.60
7.4.40.0070.01016.66
7.4.30.0120.01016.44
7.4.00.0040.01215.04
7.3.330.0060.00013.19
7.3.320.0050.00012.98
7.3.310.0030.00316.33
7.3.300.0000.00716.19
7.3.290.0110.00416.28
7.3.280.0070.01016.27
7.3.270.0170.00017.40
7.3.260.0150.00516.34
7.3.250.0110.00716.46
7.3.240.0100.00716.45
7.3.230.0100.00616.27
7.3.210.0130.00316.51
7.3.200.0060.01216.30
7.3.190.0090.01216.68
7.3.180.0120.00416.51
7.3.170.0070.01016.27
7.3.160.0110.00316.23
7.2.330.0070.01016.52
7.2.320.0050.01116.63
7.2.310.0150.00016.61
7.2.300.0130.00316.70
7.2.290.0080.01116.40
7.2.110.0090.01016.46
7.2.60.0090.00616.96
7.2.00.0080.00819.44
7.1.200.0050.00515.79
7.1.100.0070.01018.17
7.1.70.0030.00517.23
7.1.60.0000.01117.26
7.1.50.0000.01116.93
7.1.40.0000.01216.61
7.1.30.0030.01016.81
7.1.20.0000.01216.47
7.1.10.0050.00316.60
7.1.00.0120.00616.74
7.0.200.0000.00716.89
7.0.190.0040.00416.44
7.0.180.0040.00415.99
7.0.170.0030.00716.30
7.0.160.0040.00716.19
7.0.150.0000.00716.29
7.0.140.0000.00816.24
7.0.130.0080.00316.40
7.0.120.0040.00416.68
7.0.110.0050.00316.21
7.0.100.0040.00716.41
7.0.90.0000.00716.48
7.0.80.0000.00816.40
7.0.70.0040.00416.43
7.0.60.0000.00816.12
7.0.50.0000.00816.46
7.0.40.0070.00014.80
7.0.30.0040.00414.60
7.0.20.0000.00714.29
7.0.10.0050.00214.43
7.0.00.0000.00714.57

preferences:
57.68 ms | 400 KiB | 5 Q