3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(one, two, three); foreach ($a as &$b) {} print_r($a);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 126) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/VCTJW
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~2      'one'
          1        INIT_ARRAY                                       ~3      ~2
          2        FETCH_CONSTANT                                   ~4      'two'
          3        ADD_ARRAY_ELEMENT                                ~3      ~4
          4        FETCH_CONSTANT                                   ~5      'three'
          5        ADD_ARRAY_ELEMENT                                ~3      ~5
          6        ASSIGN                                                   !0, ~3
    7     7      > FE_RESET_RW                                      $7      !0, ->10
          8    > > FE_FETCH_RW                                              $7, !1, ->10
          9    > > JMP                                                      ->8
         10    >   FE_FREE                                                  $7
   10    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.06 ms | 1399 KiB | 15 Q