3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(1,2); $b = array(11,12); foreach( $a as &$r) { } foreach( $b as $r) { } each($a[1]); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 126) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 5
filename:       /in/bX6Ll
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b, !2 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2      > FE_RESET_RW                                      $5      !0, ->5
          3    > > FE_FETCH_RW                                              $5, !2, ->5
          4    > > JMP                                                      ->3
          5    >   FE_FREE                                                  $5
    9     6      > FE_RESET_R                                       $6      !1, ->9
          7    > > FE_FETCH_R                                               $6, !2, ->9
          8    > > JMP                                                      ->7
          9    >   FE_FREE                                                  $6
   13    10        INIT_FCALL_BY_NAME                                       'each'
         11        CHECK_FUNC_ARG                                           
         12        FETCH_DIM_FUNC_ARG                               $7      !0, 1
         13        SEND_FUNC_ARG                                            $7
         14        DO_FCALL                                      0          
   14    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.29 ms | 1394 KiB | 13 Q