3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array_flip(range( 0, 15)); unset($arr[3]); unset($arr[9]); foreach( $arr as $i => $garbage) { echo $i . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/4jvJV
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr, !1 = $garbage, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_flip'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 15
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    4     8        UNSET_DIM                                                !0, 3
    5     9        UNSET_DIM                                                !0, 9
    6    10      > FE_RESET_R                                       $6      !0, ->16
         11    > > FE_FETCH_R                                       ~7      $6, !1, ->16
         12    >   ASSIGN                                                   !2, ~7
    7    13        CONCAT                                           ~9      !2, '%0A'
         14        ECHO                                                     ~9
    6    15      > JMP                                                      ->11
         16    >   FE_FREE                                                  $6
    8    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.16 ms | 1399 KiB | 17 Q