3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array("This","Is","A","Little","Test"); $k = count($array); for ($i = 0; $i < $k; $i++) { echo $array[$i]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 11
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 11
Branch analysis from position: 16
Branch analysis from position: 11
filename:       /in/YDqLg
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array, !1 = $k, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_DYNAMIC_CALL                                        !0
          1        SEND_VAL_EX                                              'This'
          2        SEND_VAL_EX                                              'Is'
          3        SEND_VAL_EX                                              'A'
          4        SEND_VAL_EX                                              'Little'
          5        SEND_VAL_EX                                              'Test'
          6        DO_FCALL                                      0          
    3     7        COUNT                                            ~4      !0
          8        ASSIGN                                                   !1, ~4
    4     9        ASSIGN                                                   !2, 0
         10      > JMP                                                      ->14
    6    11    >   FETCH_DIM_R                                      ~7      !0, !2
         12        ECHO                                                     ~7
    4    13        PRE_INC                                                  !2
         14    >   IS_SMALLER                                               !2, !1
         15      > JMPNZ                                                    ~9, ->11
    7    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.35 ms | 1394 KiB | 13 Q