3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nodes[]['uid'] = 3; $nodes[]['uid'] = 2; $nodes[]['uid'] = 1; $nodes[]['uid'] = 5; for ($i = 0; 1 != $nodes[$i]['uid']; $i++); print_r([$i]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 14
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 14
Branch analysis from position: 19
Branch analysis from position: 14
filename:       /in/1OqCt
function name:  (null)
number of ops:  24
compiled vars:  !0 = $nodes, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $2      !0
          1        ASSIGN_DIM                                               $2, 'uid'
          2        OP_DATA                                                  3
    4     3        FETCH_DIM_W                                      $4      !0
          4        ASSIGN_DIM                                               $4, 'uid'
          5        OP_DATA                                                  2
    5     6        FETCH_DIM_W                                      $6      !0
          7        ASSIGN_DIM                                               $6, 'uid'
          8        OP_DATA                                                  1
    6     9        FETCH_DIM_W                                      $8      !0
         10        ASSIGN_DIM                                               $8, 'uid'
         11        OP_DATA                                                  5
    7    12        ASSIGN                                                   !1, 0
         13      > JMP                                                      ->15
         14    >   PRE_INC                                                  !1
         15    >   FETCH_DIM_R                                      ~12     !0, !1
         16        FETCH_DIM_R                                      ~13     ~12, 'uid'
         17        IS_NOT_EQUAL                                             ~13, 1
         18      > JMPNZ                                                    ~14, ->14
    8    19    >   INIT_FCALL                                               'print_r'
         20        INIT_ARRAY                                       ~15     !1
         21        SEND_VAL                                                 ~15
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.27 ms | 1395 KiB | 15 Q