3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("one", "two", "three"); reset($arr); while (list(, $value) = each($arr)) { echo "Value: $value<br />\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
Branch analysis from position: 5
filename:       /in/sQ3Ch
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arr, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'reset'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
    4     4      > JMP                                                      ->9
    5     5    >   ROPE_INIT                                     3  ~5      'Value%3A+'
          6        ROPE_ADD                                      1  ~5      ~5, !1
          7        ROPE_END                                      2  ~4      ~5, '%3Cbr+%2F%3E%0A'
          8        ECHO                                                     ~4
    4     9    >   INIT_FCALL_BY_NAME                                       'each'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0  $7      
         12        FETCH_LIST_R                                     $8      $7, 1
         13        ASSIGN                                                   !1, $8
         14      > JMPNZ                                                    $7, ->5
    6    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.64 ms | 1386 KiB | 18 Q