3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('234','1232','234'); $i = $d = count($array); while($i--){ if($i==0) echo "finally"; echo $array[$i]."<br>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 5
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 5
Branch analysis from position: 13
Branch analysis from position: 5
Branch analysis from position: 8
filename:       /in/euHht
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array, !1 = $i, !2 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        COUNT                                            ~4      !0
          2        ASSIGN                                           ~5      !2, ~4
          3        ASSIGN                                                   !1, ~5
    4     4      > JMP                                                      ->11
    5     5    >   IS_EQUAL                                                 !1, 0
          6      > JMPZ                                                     ~7, ->8
          7    >   ECHO                                                     'finally'
    6     8    >   FETCH_DIM_R                                      ~8      !0, !1
          9        CONCAT                                           ~9      ~8, '%3Cbr%3E'
         10        ECHO                                                     ~9
    4    11    >   POST_DEC                                         ~10     !1
         12      > JMPNZ                                                    ~10, ->5
    7    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.75 ms | 1384 KiB | 13 Q