3v4l.org

run code in 300+ PHP versions simultaneously
<?php $badwords = 'base64_decode+union+select'; foreach (array_keys($_GET) as $key){ foreach(explode('+',$badwords) as $badware){ $_GET[$key]=str_replace($badware, $empty_string,$_GET[$key]); } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 26
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 26
Branch analysis from position: 7
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 24
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 24
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 24
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/CjL5G
function name:  (null)
number of ops:  28
compiled vars:  !0 = $badwords, !1 = $key, !2 = $badware, !3 = $empty_string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 'base64_decode%2Bunion%2Bselect'
    3     1        INIT_FCALL                                               'array_keys'
          2        FETCH_R                      global              ~5      '_GET'
          3        SEND_VAL                                                 ~5
          4        DO_ICALL                                         $6      
          5      > FE_RESET_R                                       $7      $6, ->26
          6    > > FE_FETCH_R                                               $7, !1, ->26
    4     7    >   INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '%2B'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $8      
         11      > FE_RESET_R                                       $9      $8, ->24
         12    > > FE_FETCH_R                                               $9, !2, ->24
    5    13    >   INIT_FCALL                                               'str_replace'
         14        SEND_VAR                                                 !2
         15        SEND_VAR                                                 !3
         16        FETCH_R                      global              ~12     '_GET'
         17        FETCH_DIM_R                                      ~13     ~12, !1
         18        SEND_VAL                                                 ~13
         19        DO_ICALL                                         $14     
         20        FETCH_W                      global              $10     '_GET'
         21        ASSIGN_DIM                                               $10, !1
         22        OP_DATA                                                  $14
    4    23      > JMP                                                      ->12
         24    >   FE_FREE                                                  $9
    3    25      > JMP                                                      ->6
         26    >   FE_FREE                                                  $7
    7    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.64 ms | 1396 KiB | 19 Q