3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row=array('username'=>'user1','password'=>'testpass','username'=>'user2','password'=>'testpass2'); foreach ($row['username'] and $row['password'] as $rows){ echo $rows; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 5
filename:       /in/98hB2
function name:  (null)
number of ops:  11
compiled vars:  !0 = $row, !1 = $rows
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_R                                      ~3      !0, 'username'
          2      > JMPZ_EX                                          ~3      ~3, ->5
          3    >   FETCH_DIM_R                                      ~4      !0, 'password'
          4        BOOL                                             ~3      ~4
          5    > > FE_RESET_R                                       $5      ~3, ->9
          6    > > FE_FETCH_R                                               $5, !1, ->9
    4     7    >   ECHO                                                     !1
    3     8      > JMP                                                      ->6
          9    >   FE_FREE                                                  $5
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.27 ms | 1393 KiB | 13 Q