3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exclude = array('anus','arse','butt','clit','cock','coon','cunt','dago','damn','dick','dike','dyke','fuck','gook','heeb','hell','hobo','homo','jizz','knob','kunt','muff','niga','paki','piss','poon','poop','puta','puto','shit','shiz','slut','tard','tits','titz','turd','twat','wank'); $leet = array(); $chars = array('i','a','t','o','s','e','b'); $leetChars = array('1','4','7','0','5','3','8'); foreach ( $exclude as $word ) { $leet[] = str_replace('i','1',$word); $leet[] = str_replace('a','4',$word); $leet[] = str_replace('t','7',$word); $leet[] = str_replace('o','0',$word); $leet[] = str_replace('s','5',$word); $leet[] = str_replace('e','3',$word); $leet[] = str_replace('b','8',$word); $leet[] = str_replace($chars,$leetChars,$word); } $exclude = array_merge($exclude,$leet); $exclude = array_unique($exclude); var_dump($exclude);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 63
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 63
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 63
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 63
filename:       /in/SN0nV
function name:  (null)
number of ops:  77
compiled vars:  !0 = $exclude, !1 = $leet, !2 = $chars, !3 = $leetChars, !4 = $word
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    6     3        ASSIGN                                                   !3, <array>
    7     4      > FE_RESET_R                                       $9      !0, ->63
          5    > > FE_FETCH_R                                               $9, !4, ->63
    8     6    >   INIT_FCALL                                               'str_replace'
          7        SEND_VAL                                                 'i'
          8        SEND_VAL                                                 '1'
          9        SEND_VAR                                                 !4
         10        DO_ICALL                                         $11     
         11        ASSIGN_DIM                                               !1
         12        OP_DATA                                                  $11
    9    13        INIT_FCALL                                               'str_replace'
         14        SEND_VAL                                                 'a'
         15        SEND_VAL                                                 '4'
         16        SEND_VAR                                                 !4
         17        DO_ICALL                                         $13     
         18        ASSIGN_DIM                                               !1
         19        OP_DATA                                                  $13
   10    20        INIT_FCALL                                               'str_replace'
         21        SEND_VAL                                                 't'
         22        SEND_VAL                                                 '7'
         23        SEND_VAR                                                 !4
         24        DO_ICALL                                         $15     
         25        ASSIGN_DIM                                               !1
         26        OP_DATA                                                  $15
   11    27        INIT_FCALL                                               'str_replace'
         28        SEND_VAL                                                 'o'
         29        SEND_VAL                                                 '0'
         30        SEND_VAR                                                 !4
         31        DO_ICALL                                         $17     
         32        ASSIGN_DIM                                               !1
         33        OP_DATA                                                  $17
   12    34        INIT_FCALL                                               'str_replace'
         35        SEND_VAL                                                 's'
         36        SEND_VAL                                                 '5'
         37        SEND_VAR                                                 !4
         38        DO_ICALL                                         $19     
         39        ASSIGN_DIM                                               !1
         40        OP_DATA                                                  $19
   13    41        INIT_FCALL                                               'str_replace'
         42        SEND_VAL                                                 'e'
         43        SEND_VAL                                                 '3'
         44        SEND_VAR                                                 !4
         45        DO_ICALL                                         $21     
         46        ASSIGN_DIM                                               !1
         47        OP_DATA                                                  $21
   14    48        INIT_FCALL                                               'str_replace'
         49        SEND_VAL                                                 'b'
         50        SEND_VAL                                                 '8'
         51        SEND_VAR                                                 !4
         52        DO_ICALL                                         $23     
         53        ASSIGN_DIM                                               !1
         54        OP_DATA                                                  $23
   15    55        INIT_FCALL                                               'str_replace'
         56        SEND_VAR                                                 !2
         57        SEND_VAR                                                 !3
         58        SEND_VAR                                                 !4
         59        DO_ICALL                                         $25     
         60        ASSIGN_DIM                                               !1
         61        OP_DATA                                                  $25
    7    62      > JMP                                                      ->5
         63    >   FE_FREE                                                  $9
   18    64        INIT_FCALL                                               'array_merge'
         65        SEND_VAR                                                 !0
         66        SEND_VAR                                                 !1
         67        DO_ICALL                                         $26     
         68        ASSIGN                                                   !0, $26
   19    69        INIT_FCALL                                               'array_unique'
         70        SEND_VAR                                                 !0
         71        DO_ICALL                                         $28     
         72        ASSIGN                                                   !0, $28
   21    73        INIT_FCALL                                               'var_dump'
         74        SEND_VAR                                                 !0
         75        DO_ICALL                                                 
         76      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.17 ms | 1400 KiB | 21 Q