3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prohibitedUsernames = [ '/', 'tags', 'new', 'spy', 'search', 'buy-tokens', 'unsubscribe', 'user', 'cams', 'top', 'favorites', 'followings', 'friends', 'gold-membership', 'login', 'signup', 'industry', 'forgot-password', 'confirm-email', 'confirm-payment-settings', 'reset-password', 'settings', 'studio', 'model', 'mobile', 'mobile_auth', 'messages', '2257', 'careers', 'copyrights', 'privacy', 'support', 'terms', 'start-broadcasting', 'tokens-history', 'studio-earnings', 'payments-history', 'payments-settings', 'model-news', 'i18n', '*', ]; print_r(array_filter( $prohibitedUsernames, function ($value) { return !in_array($value, ['/', '*']); // return $value != '/' || $value != '*'; } ));
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 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.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Array ( [1] => tags [2] => new [3] => spy [4] => search [5] => buy-tokens [6] => unsubscribe [7] => user [8] => cams [9] => top [10] => favorites [11] => followings [12] => friends [13] => gold-membership [14] => login [15] => signup [16] => industry [17] => forgot-password [18] => confirm-email [19] => confirm-payment-settings [20] => reset-password [21] => settings [22] => studio [23] => model [24] => mobile [25] => mobile_auth [26] => messages [27] => 2257 [28] => careers [29] => copyrights [30] => privacy [31] => support [32] => terms [33] => start-broadcasting [34] => tokens-history [35] => studio-earnings [36] => payments-history [37] => payments-settings [38] => model-news [39] => i18n )

preferences:
155.24 ms | 405 KiB | 184 Q