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'); $leetChars = array('1','4'); foreach ( $exclude as $word ) { $leet[] = str_replace($chars,$leetChars,$word); } $exclude = array_merge($exclude,$leet); var_dump($exclude);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/uBeWL
function name:  (null)
number of ops:  24
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, ->14
          5    > > FE_FETCH_R                                               $9, !4, ->14
    8     6    >   INIT_FCALL                                               'str_replace'
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !3
          9        SEND_VAR                                                 !4
         10        DO_ICALL                                         $11     
         11        ASSIGN_DIM                                               !1
         12        OP_DATA                                                  $11
    7    13      > JMP                                                      ->5
         14    >   FE_FREE                                                  $9
   11    15        INIT_FCALL                                               'array_merge'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $12     
         19        ASSIGN                                                   !0, $12
   13    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.23 ms | 1395 KiB | 19 Q