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'); $leetChars = array('1','4','7','0'); 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($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 = 42
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 42
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
filename:       /in/CQalJ
function name:  (null)
number of ops:  56
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, ->42
          5    > > FE_FETCH_R                                               $9, !4, ->42
    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_VAR                                                 !2
         36        SEND_VAR                                                 !3
         37        SEND_VAR                                                 !4
         38        DO_ICALL                                         $19     
         39        ASSIGN_DIM                                               !1
         40        OP_DATA                                                  $19
    7    41      > JMP                                                      ->5
         42    >   FE_FREE                                                  $9
   15    43        INIT_FCALL                                               'array_merge'
         44        SEND_VAR                                                 !0
         45        SEND_VAR                                                 !1
         46        DO_ICALL                                         $20     
         47        ASSIGN                                                   !0, $20
   16    48        INIT_FCALL                                               'array_unique'
         49        SEND_VAR                                                 !0
         50        DO_ICALL                                         $22     
         51        ASSIGN                                                   !0, $22
   18    52        INIT_FCALL                                               'var_dump'
         53        SEND_VAR                                                 !0
         54        DO_ICALL                                                 
         55      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.89 ms | 1405 KiB | 21 Q