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[$keyb]['links'])) { 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.70.0090.00618.43
8.3.60.0160.00316.75
8.3.50.0110.00717.34
8.3.40.0000.01518.76
8.3.30.0070.01118.71
8.3.20.0040.00421.83
8.3.10.0040.00423.65
8.3.00.0040.00419.47
8.2.190.0140.00016.63
8.2.180.0100.00716.63
8.2.170.0070.00722.96
8.2.160.0110.00420.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00320.39
8.2.120.0070.00726.35
8.2.110.0000.00921.03
8.2.100.0130.00017.78
8.2.90.0000.00817.75
8.2.80.0040.00417.97
8.2.70.0090.00018.04
8.2.60.0050.00218.15
8.2.50.0040.00418.10
8.2.40.0000.00720.46
8.2.30.0000.00819.23
8.2.20.0000.00718.02
8.2.10.0000.00718.04
8.2.00.0040.00418.05
8.1.280.0090.00925.92
8.1.270.0040.00418.96
8.1.260.0080.00026.35
8.1.250.0030.00728.09
8.1.240.0060.00322.19
8.1.230.0090.00319.16
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.00
8.1.190.0090.00017.23
8.1.180.0060.00318.10
8.1.170.0070.00020.11
8.1.160.0000.00718.82
8.1.150.0000.00820.27
8.1.140.0030.00519.55
8.1.130.0000.00718.91
8.1.120.0000.00817.51
8.1.110.0040.00417.47
8.1.100.0040.00417.45
8.1.90.0000.00817.39
8.1.80.0000.00717.43
8.1.70.0040.00417.35
8.1.60.0030.00617.52
8.1.50.0040.00417.56
8.1.40.0050.00317.43
8.1.30.0080.00017.61
8.1.20.0000.00717.69
8.1.10.0040.00417.57
8.1.00.0050.00317.39
8.0.300.0070.00018.77
8.0.290.0050.00316.75
8.0.280.0000.00818.34
8.0.270.0000.00717.30
8.0.260.0060.00018.95
8.0.250.0000.00716.96
8.0.240.0000.00716.88
8.0.230.0050.00217.03
8.0.220.0040.00416.93
8.0.210.0000.00716.88
8.0.200.0040.00416.98
8.0.190.0060.00316.94
8.0.180.0040.00416.94
8.0.170.0000.00716.95
8.0.160.0040.00416.95
8.0.150.0030.00516.89
8.0.140.0020.00516.84
8.0.130.0000.00513.33
8.0.120.0000.00716.91
8.0.110.0030.00316.80
8.0.100.0000.00717.00
8.0.90.0040.00416.82
8.0.80.0060.00916.87
8.0.70.0080.00016.78
8.0.60.0040.00416.80
8.0.50.0070.00016.93
8.0.30.0040.01317.17
8.0.20.0100.00917.40
8.0.10.0030.00516.99
8.0.00.0120.00916.82
7.4.330.0020.00215.55
7.4.320.0000.00716.61
7.4.300.0030.00316.51
7.4.290.0000.00716.59
7.4.280.0040.00416.61
7.4.270.0070.00016.63
7.4.260.0070.00316.55
7.4.250.0000.00716.58
7.4.240.0050.00216.63
7.4.230.0030.00316.52
7.4.220.0150.00316.41
7.4.210.0030.01016.58
7.4.200.0000.00716.64
7.4.160.0030.01316.61
7.4.150.0190.00017.40
7.4.140.0080.01017.86
7.4.130.0140.00316.36
7.4.120.0130.01016.45
7.4.110.0070.01016.63
7.4.100.0140.00316.46
7.4.90.0130.00316.62
7.4.80.0130.00319.39
7.4.70.0100.00616.72
7.4.60.0080.00816.51
7.4.50.0100.00716.38
7.4.40.0090.00916.36
7.4.30.0180.00416.27
7.4.10.0060.01215.22
7.4.00.0100.00714.98
7.3.330.0030.00313.19
7.3.320.0000.00513.17
7.3.310.0070.00016.19
7.3.300.0030.00316.27
7.3.290.0110.00616.34
7.3.280.0080.00916.33
7.3.270.0240.00017.40
7.3.260.0140.00616.33
7.3.250.0130.00616.50
7.3.240.0110.00816.41
7.3.230.0130.00316.29
7.3.210.0100.00616.34
7.3.200.0150.00316.62
7.3.190.0100.00616.47
7.3.180.0090.00716.26
7.3.170.0070.01016.43
7.3.160.0030.01216.37
7.3.130.0100.01014.98
7.3.120.0070.01114.76
7.3.110.0000.01515.05
7.3.100.0110.00414.77
7.3.90.0030.01414.97
7.3.80.0040.00414.75
7.3.70.0070.00714.93
7.3.60.0070.00714.87
7.3.50.0070.00714.82
7.3.40.0040.01214.53
7.3.30.0030.01014.99
7.3.20.0080.00816.79
7.3.10.0030.00716.41
7.3.00.0120.00616.39
7.2.330.0100.00716.46
7.2.320.0080.00816.55
7.2.310.0200.00316.56
7.2.300.0060.01016.46
7.2.290.0130.01216.46
7.2.260.0060.01314.89
7.2.250.0070.01015.07
7.2.240.0070.00714.88
7.2.230.0030.01614.98
7.2.220.0040.01214.90
7.2.210.0000.01415.07
7.2.200.0060.00314.97
7.2.190.0080.00814.91
7.2.180.0100.00315.06
7.2.170.0030.01415.12
7.2.160.0110.00415.03
7.2.150.0030.01016.65
7.2.140.0000.01416.93
7.2.130.0100.01016.80
7.2.120.0040.00716.98
7.2.110.0060.00917.04
7.2.100.0070.01017.00
7.2.90.0070.00716.89
7.2.80.0080.00816.98
7.2.70.0100.00316.73
7.2.60.0090.00516.88
7.2.50.0120.00216.86
7.2.40.0140.00317.01
7.2.30.0060.01216.89
7.2.20.0080.00816.83
7.2.10.0040.00816.93
7.2.00.0060.00916.68
7.1.330.0080.00315.91
7.1.320.0000.01415.92
7.1.310.0070.00715.78
7.1.300.0070.01115.88
7.1.290.0030.00715.85
7.1.280.0000.01415.88
7.1.270.0070.00715.86
7.1.260.0090.00615.99
7.1.250.0090.00615.79
7.1.240.0040.00415.88
7.1.230.0000.01315.84
7.1.220.0060.00815.95
7.1.210.0040.01115.75
7.1.200.0050.00615.78
7.1.190.0070.00715.59
7.1.180.0130.00315.83
7.1.170.0070.00715.66
7.1.160.0030.01315.86
7.1.150.0030.00915.84
7.1.140.0000.01415.84
7.1.130.0000.01815.98
7.1.120.0060.00615.71
7.1.110.0030.01015.66
7.1.100.0030.00715.57
7.1.90.0040.00815.60
7.1.80.0060.00915.88
7.1.70.0130.00016.34
7.1.60.0470.01224.62
7.1.50.0530.01024.40
7.1.40.0580.01024.26
7.1.30.0700.01124.35
7.1.20.0480.01324.43
7.1.10.0430.00915.34
7.1.00.0560.00815.35
7.0.330.0100.00715.57
7.0.320.0090.00615.38
7.0.310.0060.00615.47
7.0.300.0110.00015.61
7.0.290.0030.01315.21
7.0.280.0000.01215.13
7.0.270.0040.01315.45
7.0.260.0100.00315.48
7.0.250.0000.01515.34
7.0.240.0090.00315.56
7.0.230.0000.00815.15
7.0.220.0070.00715.47
7.0.210.0080.00415.22
7.0.200.0450.00815.14
7.0.190.0560.00315.23
7.0.180.0470.01114.95
7.0.170.0720.00514.76
7.0.160.0610.00514.86
7.0.150.0530.00514.92
7.0.140.0490.00915.07
7.0.130.0050.00715.01
7.0.120.0070.00914.96
7.0.110.0510.01314.87
7.0.100.0520.01014.95
7.0.90.0420.01214.97
7.0.80.0710.00614.82
7.0.70.0580.00614.95
7.0.60.0460.00614.84
7.0.50.0430.00815.02
7.0.40.0480.00314.13
7.0.30.0480.00814.04
7.0.20.0500.00713.89
7.0.10.0610.01113.92
7.0.00.0630.01214.06
5.6.400.0070.01114.46
5.6.390.0040.00714.11
5.6.380.0090.00413.90
5.6.370.0070.01014.63
5.6.360.0080.00414.27
5.6.350.0060.01214.72
5.6.340.0070.00313.84
5.6.330.0040.01414.36
5.6.320.0040.01114.59
5.6.310.0040.00714.37
5.6.300.0080.00814.04
5.6.290.0060.00614.66
5.6.280.0060.00314.45
5.6.270.0030.01214.73
5.6.260.0040.01114.53
5.6.250.0030.00614.21
5.6.240.0130.00314.54
5.6.230.0070.01014.02
5.6.220.0060.01014.65
5.6.210.0000.01914.25
5.6.200.0060.00314.44
5.6.190.0100.00314.22
5.6.180.0060.00914.30
5.6.170.0030.01214.41
5.6.160.0060.00614.21
5.6.150.0070.00314.34
5.6.140.0040.00914.41
5.6.130.0070.00714.45
5.6.120.0040.01114.37
5.6.110.0030.00714.54
5.6.100.0040.01114.57
5.6.90.0100.00314.22
5.6.80.0060.00314.39
5.6.70.0060.00614.43
5.6.60.0090.00314.19
5.6.50.0100.00314.16
5.6.40.0030.01014.31
5.6.30.0060.00914.38
5.6.20.0030.00614.32
5.6.10.0100.00714.33
5.6.00.0060.00614.13

preferences:
66.56 ms | 401 KiB | 5 Q