3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('db', 'user', 'password', 'host'); while(list($db, $user, $password, $host) = $array){ echo $db; echo $user; echo $password; echo $host; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
Branch analysis from position: 2
filename:       /in/UupO3
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array, !1 = $db, !2 = $user, !3 = $password, !4 = $host
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1      > JMP                                                      ->6
    5     2    >   ECHO                                                     !1
    6     3        ECHO                                                     !2
    7     4        ECHO                                                     !3
    8     5        ECHO                                                     !4
    4     6    >   QM_ASSIGN                                        ~6      !0
          7        FETCH_LIST_R                                     $7      ~6, 0
          8        ASSIGN                                                   !1, $7
          9        FETCH_LIST_R                                     $9      ~6, 1
         10        ASSIGN                                                   !2, $9
         11        FETCH_LIST_R                                     $11     ~6, 2
         12        ASSIGN                                                   !3, $11
         13        FETCH_LIST_R                                     $13     ~6, 3
         14        ASSIGN                                                   !4, $13
         15      > JMPNZ                                                    ~6, ->2
    9    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.23 ms | 1393 KiB | 13 Q