3v4l.org

run code in 300+ PHP versions simultaneously
<?php $g = range(5,8); $h = array("a", "b", "c", "e"); for($i = 0; $i < count($g); $i++) { foreach ($h as $j) { echo $i.$j; break; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 8
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 8
Branch analysis from position: 19
Branch analysis from position: 8
Branch analysis from position: 14
Branch analysis from position: 14
filename:       /in/RtZCG
function name:  (null)
number of ops:  20
compiled vars:  !0 = $g, !1 = $h, !2 = $i, !3 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 5
          2        SEND_VAL                                                 8
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !0, $4
    4     5        ASSIGN                                                   !1, <array>
    6     6        ASSIGN                                                   !2, 0
          7      > JMP                                                      ->16
    7     8    > > FE_RESET_R                                       $8      !1, ->14
          9    > > FE_FETCH_R                                               $8, !3, ->14
    8    10    >   CONCAT                                           ~9      !2, !3
         11        ECHO                                                     ~9
    9    12      > JMP                                                      ->14
    7    13*       JMP                                                      ->9
         14    >   FE_FREE                                                  $8
    6    15        PRE_INC                                                  !2
         16    >   COUNT                                            ~11     !0
         17        IS_SMALLER                                               !2, ~11
         18      > JMPNZ                                                    ~12, ->8
   11    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.62 ms | 1387 KiB | 15 Q