3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.55 ms | 1392 KiB | 15 Q