<?php
$a = array (
0 => '.',
1 => '..',
2 => 'BuzzMedia_ads',
3 => 'admin-bar-disabler',
4 => 'akismet',
5 => 'all-in-one-seo-pack',
6 => 'antivirus',
7 => 'buzzMobile',
8 => 'buzzworthy',
9 => 'cdn.php',
10 => 'faster-image-insert',
11 => 'featured-fuggers',
12 => 'google-sitemap-generator',
13 => 'gumiyo',
14 => 'index.php',
15 => 'open-in-new-window-plugin',
16 => 'pi-ajax-provider',
17 => 'pi-comment-voting',
18 => 'pi-fix-future-post',
19 => 'pi-fix-image-resize',
20 => 'pi-gallery',
21 => 'pi-mobile-theme',
22 => 'pi-profiler',
23 => 'regenerate-thumbnails',
24 => 'simple-facebook-connect',
25 => 'sm-onswipe-feeds',
26 => 'stats',
27 => 'taxonomy-images',
28 => 'tpc-memory-usage',
29 => 'wp-hide-dashboard',
30 => 'wp-pagenavi',
31 => 'wp-polls',
32 => 'wpsyslog2',
33 => 'yet-another-related-posts-plugin',
);
$b = array (
0 => '.',
1 => '..',
2 => '.git',
3 => 'buzzworthy',
4 => 'cli-files-checker',
5 => 'cli-img-check',
6 => 'cli-suspicious-code-scan',
7 => 'composer.json',
8 => 'ex-comments',
9 => 'fb-oauth',
10 => 'html_purifier_for_wp',
11 => 'migration-legacy-posts',
12 => 'pi-add-onswipe-script',
13 => 'pi-ajax-provider',
14 => 'pi-akamai',
15 => 'pi-bitly',
16 => 'pi-check-comments',
17 => 'pi-comment-voting',
18 => 'pi-daily-buzz',
19 => 'pi-dart-ad',
20 => 'pi-export-post',
21 => 'pi-fb-oauth',
22 => 'pi-feed',
23 => 'pi-fix-future-post',
24 => 'pi-fix-image-resize',
25 => 'pi-fix-parent',
26 => 'pi-ga-most-popular',
27 => 'pi-gallery',
28 => 'pi-header-carousels',
29 => 'pi-instagram-module',
30 => 'pi-its-widgers',
31 => 'pi-json-comments',
32 => 'pi-login',
33 => 'pi-mobile-feed',
34 => 'pi-mobile-theme',
35 => 'pi-partner-links',
36 => 'pi-profiler',
37 => 'pi-reaction',
38 => 'pi-redirect',
39 => 'pi-remote-ip-fix',
40 => 'pi-scan-db',
41 => 'pi-scan-ui',
42 => 'pi-scout-concierge',
43 => 'pi-sitemap',
44 => 'pi-static-permalink',
45 => 'pi-taxonomy-creation-date',
46 => 'pi-version-checker',
47 => 'pi_logger',
48 => 'regenerate-thumbnails',
49 => 'sailthru-newsletters',
50 => 'validation-tools',
);
$c = array_intersect($a,$b);
var_dump($c);
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- array(11) {
[0]=>
string(1) "."
[1]=>
string(2) ".."
[8]=>
string(10) "buzzworthy"
[16]=>
string(16) "pi-ajax-provider"
[17]=>
string(17) "pi-comment-voting"
[18]=>
string(18) "pi-fix-future-post"
[19]=>
string(19) "pi-fix-image-resize"
[20]=>
string(10) "pi-gallery"
[21]=>
string(15) "pi-mobile-theme"
[22]=>
string(11) "pi-profiler"
[23]=>
string(21) "regenerate-thumbnails"
}
preferences:
314.16 ms | 406 KiB | 458 Q