3v4l.org

run code in 300+ PHP versions simultaneously
<?php global $get; $get='ge/t'; global $post; $post='po/st'; global $co; $co='a'; global $rec; $rec='rec'; if (get_magic_quotes_gpc()) { $process = array(&$get, &$post, &$co, &$rec); while (list($key, $val) = each($process)) { foreach ($val as $k => $v) { unset($process[$key][$k]); if (is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = stripslashes($v); $process[$key][stripslashes($k)] ; echo stripslashes($v); } } } unset($process); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 69
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 60
Branch analysis from position: 60
2 jumps found. (Code = 44) Position 1 = 68, Position 2 = 17
Branch analysis from position: 68
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 77) Position 1 = 18, Position 2 = 59
Branch analysis from position: 18
2 jumps found. (Code = 78) Position 1 = 19, Position 2 = 59
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 39
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 58
Branch analysis from position: 58
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 39
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 59
2 jumps found. (Code = 44) Position 1 = 68, Position 2 = 17
Branch analysis from position: 68
Branch analysis from position: 17
Branch analysis from position: 59
Branch analysis from position: 69
filename:       /in/cTfpP
function name:  (null)
number of ops:  70
compiled vars:  !0 = $get, !1 = $post, !2 = $co, !3 = $rec, !4 = $process, !5 = $val, !6 = $v, !7 = $k, !8 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BIND_GLOBAL                                              !0, 'get'
    3     1        ASSIGN                                                   !0, 'ge%2Ft'
    4     2        BIND_GLOBAL                                              !1, 'post'
    5     3        ASSIGN                                                   !1, 'po%2Fst'
    6     4        BIND_GLOBAL                                              !2, 'co'
    7     5        ASSIGN                                                   !2, 'a'
    8     6        BIND_GLOBAL                                              !3, 'rec'
    9     7        ASSIGN                                                   !3, 'rec'
   10     8        INIT_FCALL_BY_NAME                                       'get_magic_quotes_gpc'
          9        DO_FCALL                                      0  $13     
         10      > JMPZ                                                     $13, ->69
   11    11    >   INIT_ARRAY                                       ~14     !0
         12        ADD_ARRAY_ELEMENT                                ~14     !1
         13        ADD_ARRAY_ELEMENT                                ~14     !2
         14        ADD_ARRAY_ELEMENT                                ~14     !3
         15        ASSIGN                                                   !4, ~14
   12    16      > JMP                                                      ->60
   13    17    > > FE_RESET_R                                       $16     !5, ->59
         18    > > FE_FETCH_R                                       ~17     $16, !6, ->59
         19    >   ASSIGN                                                   !7, ~17
   14    20        FETCH_DIM_UNSET                                  $19     !4, !8
         21        UNSET_DIM                                                $19, !7
   15    22        TYPE_CHECK                                  128          !6
         23      > JMPZ                                                     ~20, ->39
   16    24    >   INIT_FCALL                                               'stripslashes'
         25        SEND_VAR                                                 !7
         26        DO_ICALL                                         $22     
         27        FETCH_DIM_W                                      $21     !4, !8
         28        ASSIGN_DIM                                               $21, $22
         29        OP_DATA                                                  !6
   17    30        INIT_FCALL                                               'stripslashes'
         31        SEND_VAR                                                 !7
         32        DO_ICALL                                         $26     
         33        FETCH_DIM_W                                      $25     !4, !8
         34        FETCH_DIM_W                                      $27     $25, $26
         35        MAKE_REF                                         $28     $27
         36        FETCH_DIM_W                                      $24     !4
         37        ASSIGN_REF                                               $24, $28
         38      > JMP                                                      ->58
   19    39    >   INIT_FCALL                                               'stripslashes'
         40        SEND_VAR                                                 !7
         41        DO_ICALL                                         $31     
         42        INIT_FCALL                                               'stripslashes'
         43        SEND_VAR                                                 !6
         44        DO_ICALL                                         $33     
         45        FETCH_DIM_W                                      $30     !4, !8
         46        ASSIGN_DIM                                               $30, $31
         47        OP_DATA                                                  $33
   20    48        INIT_FCALL                                               'stripslashes'
         49        SEND_VAR                                                 !7
         50        DO_ICALL                                         $35     
         51        FETCH_DIM_R                                      ~34     !4, !8
         52        FETCH_DIM_R                                      ~36     ~34, $35
         53        FREE                                                     ~36
   21    54        INIT_FCALL                                               'stripslashes'
         55        SEND_VAR                                                 !6
         56        DO_ICALL                                         $37     
         57        ECHO                                                     $37
   13    58    > > JMP                                                      ->18
         59    >   FE_FREE                                                  $16
   12    60    >   INIT_FCALL_BY_NAME                                       'each'
         61        SEND_VAR_EX                                              !4
         62        DO_FCALL                                      0  $38     
         63        FETCH_LIST_R                                     $39     $38, 0
         64        ASSIGN                                                   !8, $39
         65        FETCH_LIST_R                                     $41     $38, 1
         66        ASSIGN                                                   !5, $41
         67      > JMPNZ                                                    $38, ->17
   25    68    >   UNSET_CV                                                 !4
   27    69    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.74 ms | 1400 KiB | 15 Q