3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('234','1232','234'); $i = $d = count($array); while($i--){ if($i+1 == $d) echo "finally"; echo $array[$i]."<br>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5
Branch analysis from position: 14
Branch analysis from position: 5
Branch analysis from position: 9
filename:       /in/fCCDU
function name:  (null)
number of ops:  15
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                                                      ->12
    5     5    >   ADD                                              ~7      !1, 1
          6        IS_EQUAL                                                 !2, ~7
          7      > JMPZ                                                     ~8, ->9
          8    >   ECHO                                                     'finally'
    6     9    >   FETCH_DIM_R                                      ~9      !0, !1
         10        CONCAT                                           ~10     ~9, '%3Cbr%3E'
         11        ECHO                                                     ~10
    4    12    >   POST_DEC                                         ~11     !1
         13      > JMPNZ                                                    ~11, ->5
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.25 ms | 1394 KiB | 13 Q