3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(1); $a = 'aaa'; foreach ($a['bbb'] as &$value) { echo 'loop'; } unset($value); echo 'done';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 126) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/YhlXN
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_time_limit'
          1        SEND_VAL                                                 1
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'aaa'
    7     4        FETCH_DIM_W                                      $4      !0, 'bbb'
          5      > FE_RESET_RW                                      $5      $4, ->9
          6    > > FE_FETCH_RW                                              $5, !1, ->9
    9     7    >   ECHO                                                     'loop'
    7     8      > JMP                                                      ->6
          9    >   FE_FREE                                                  $5
   12    10        UNSET_CV                                                 !1
   14    11        ECHO                                                     'done'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.27 ms | 1394 KiB | 15 Q