3v4l.org

run code in 300+ PHP versions simultaneously
<?php $process = array('get', 'pst', 'co', 'rec'); while (list($key, $val) = each($process)) { echo $key; echo $val; foreach ($process as $k => $v) { $process[$key][stripslashes($k)] = $v; echo $v; } } unset($process); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 2
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 2
Branch analysis from position: 24
Branch analysis from position: 2
Branch analysis from position: 15
filename:       /in/3dRvW
function name:  (null)
number of ops:  26
compiled vars:  !0 = $process, !1 = $key, !2 = $val, !3 = $v, !4 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > JMP                                                      ->16
    4     2    >   ECHO                                                     !1
    5     3        ECHO                                                     !2
    6     4      > FE_RESET_R                                       $6      !0, ->15
          5    > > FE_FETCH_R                                       ~7      $6, !3, ->15
          6    >   ASSIGN                                                   !4, ~7
    9     7        INIT_FCALL                                               'stripslashes'
          8        SEND_VAR                                                 !4
          9        DO_ICALL                                         $10     
         10        FETCH_DIM_W                                      $9      !0, !1
         11        ASSIGN_DIM                                               $9, $10
         12        OP_DATA                                                  !3
   12    13        ECHO                                                     !3
    6    14      > JMP                                                      ->5
         15    >   FE_FREE                                                  $6
    3    16    >   INIT_FCALL_BY_NAME                                       'each'
         17        SEND_VAR_EX                                              !0
         18        DO_FCALL                                      0  $12     
         19        FETCH_LIST_R                                     $13     $12, 0
         20        ASSIGN                                                   !1, $13
         21        FETCH_LIST_R                                     $15     $12, 1
         22        ASSIGN                                                   !2, $15
         23      > JMPNZ                                                    $12, ->2
   16    24    >   UNSET_CV                                                 !0
   18    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.8 ms | 1396 KiB | 15 Q