3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = array(10 => "Alice", "dick" => "Mary", "harry" => "George"); while(list($a,$b,$c) = each($tmp)) { var_dump($a,$b,$c); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
Branch analysis from position: 2
filename:       /in/cUnmG
function name:  (null)
number of ops:  18
compiled vars:  !0 = $tmp, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > JMP                                                      ->7
    4     2    >   INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !2
          5        SEND_VAR                                                 !3
          6        DO_ICALL                                                 
    3     7    >   INIT_FCALL_BY_NAME                                       'each'
          8        SEND_VAR_EX                                              !0
          9        DO_FCALL                                      0  $6      
         10        FETCH_LIST_R                                     $7      $6, 0
         11        ASSIGN                                                   !1, $7
         12        FETCH_LIST_R                                     $9      $6, 1
         13        ASSIGN                                                   !2, $9
         14        FETCH_LIST_R                                     $11     $6, 2
         15        ASSIGN                                                   !3, $11
         16      > JMPNZ                                                    $6, ->2
    5    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.93 ms | 1395 KiB | 18 Q