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; } unset($process); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
Branch analysis from position: 2
filename:       /in/5BSJL
function name:  (null)
number of ops:  14
compiled vars:  !0 = $process, !1 = $key, !2 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > JMP                                                      ->4
    4     2    >   ECHO                                                     !1
    5     3        ECHO                                                     !2
    3     4    >   INIT_FCALL_BY_NAME                                       'each'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0  $4      
          7        FETCH_LIST_R                                     $5      $4, 0
          8        ASSIGN                                                   !1, $5
          9        FETCH_LIST_R                                     $7      $4, 1
         10        ASSIGN                                                   !2, $7
         11      > JMPNZ                                                    $4, ->2
    8    12    >   UNSET_CV                                                 !0
   10    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.26 ms | 1393 KiB | 13 Q