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) { 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); 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 = 54
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 45
Branch analysis from position: 45
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 5
Branch analysis from position: 53
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 44
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 44
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 27
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 43
Branch analysis from position: 43
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 5
Branch analysis from position: 53
Branch analysis from position: 5
Branch analysis from position: 44
Branch analysis from position: 54
filename:       /in/ZbAZ7
function name:  (null)
number of ops:  55
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, ->54
    3     3    >   ASSIGN                                                   !0, <array>
    4     4      > JMP                                                      ->45
    5     5    > > FE_RESET_R                                       $7      !1, ->44
          6    > > FE_FETCH_R                                       ~8      $7, !2, ->44
          7    >   ASSIGN                                                   !3, ~8
    6     8        FETCH_DIM_UNSET                                  $10     !0, !4
          9        UNSET_DIM                                                $10, !3
    7    10        TYPE_CHECK                                  128          !2
         11      > JMPZ                                                     ~11, ->27
    8    12    >   INIT_FCALL                                               'stripslashes'
         13        SEND_VAR                                                 !3
         14        DO_ICALL                                         $13     
         15        FETCH_DIM_W                                      $12     !0, !4
         16        ASSIGN_DIM                                               $12, $13
         17        OP_DATA                                                  !2
    9    18        INIT_FCALL                                               'stripslashes'
         19        SEND_VAR                                                 !3
         20        DO_ICALL                                         $17     
         21        FETCH_DIM_W                                      $16     !0, !4
         22        FETCH_DIM_W                                      $18     $16, $17
         23        MAKE_REF                                         $19     $18
         24        FETCH_DIM_W                                      $15     !0
         25        ASSIGN_REF                                               $15, $19
         26      > JMP                                                      ->43
   11    27    >   INIT_FCALL                                               'stripslashes'
         28        SEND_VAR                                                 !3
         29        DO_ICALL                                         $22     
         30        INIT_FCALL                                               'stripslashes'
         31        SEND_VAR                                                 !2
         32        DO_ICALL                                         $24     
         33        FETCH_DIM_W                                      $21     !0, !4
         34        ASSIGN_DIM                                               $21, $22
         35        OP_DATA                                                  $24
   12    36        INIT_FCALL                                               'stripslashes'
         37        SEND_VAR                                                 !3
         38        DO_ICALL                                         $26     
         39        FETCH_DIM_R                                      ~25     !0, !4
         40        FETCH_DIM_R                                      ~27     ~25, $26
         41        ECHO                                                     ~27
   13    42        ECHO                                                     !2
    5    43    > > JMP                                                      ->6
         44    >   FE_FREE                                                  $7
    4    45    >   INIT_FCALL_BY_NAME                                       'each'
         46        SEND_VAR_EX                                              !0
         47        DO_FCALL                                      0  $28     
         48        FETCH_LIST_R                                     $29     $28, 0
         49        ASSIGN                                                   !4, $29
         50        FETCH_LIST_R                                     $31     $28, 1
         51        ASSIGN                                                   !1, $31
         52      > JMPNZ                                                    $28, ->5
   17    53    >   UNSET_CV                                                 !0
   19    54    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.31 ms | 1400 KiB | 21 Q