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', '*', ]; array_filter( $prohibitedUsernames, function ($value) { return $value != '/' || $value != '*'; } ); var_dump($prohibitedUsernames);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LllSi
function name:  (null)
number of ops:  10
compiled vars:  !0 = $prohibitedUsernames
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'array_filter'
   12     2        SEND_VAR                                                 !0
   13     3        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FLllSi%3A13%240'
   15     4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
   18     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FLllSi%3A13%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/LllSi
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
   14     1        IS_NOT_EQUAL                                     ~1      !0, '%2F'
          2      > JMPNZ_EX                                         ~1      ~1, ->5
          3    >   IS_NOT_EQUAL                                     ~2      !0, '%2A'
          4        BOOL                                             ~1      ~2
          5    > > RETURN                                                   ~1
   15     6*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FLllSi%3A13%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.67 ms | 1386 KiB | 17 Q