3v4l.org

run code in 300+ PHP versions simultaneously
<?php $player[] = array('nr'=>1,'name'=>'mello','cash'=>100); $player[] = array('nr'=>5,'name'=>'nakas','cash'=>300); for ($i = 0; $i<2; $i++) { echo ($arr[$i]['name'] ); echo $arr[$i]['cash'] ; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
Branch analysis from position: 6
filename:       /in/1Mran
function name:  (null)
number of ops:  16
compiled vars:  !0 = $player, !1 = $i, !2 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  <array>
    3     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  <array>
    5     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->13
    6     6    >   FETCH_DIM_R                                      ~6      !2, !1
          7        FETCH_DIM_R                                      ~7      ~6, 'name'
          8        ECHO                                                     ~7
    7     9        FETCH_DIM_R                                      ~8      !2, !1
         10        FETCH_DIM_R                                      ~9      ~8, 'cash'
         11        ECHO                                                     ~9
    5    12        PRE_INC                                                  !1
         13    >   IS_SMALLER                                               !1, 2
         14      > JMPNZ                                                    ~11, ->6
    9    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.86 ms | 1394 KiB | 13 Q