3v4l.org

run code in 500+ PHP versions simultaneously
<?php function f() { try { foreach ($x as $y) { return; } } finally { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1quOm
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E > > RETURN                                                       1

Function f:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 6
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 6
Branch analysis from position: 2
2 jumps found. (Code = 162) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 162) Position 1 = 9, Position 2 = 8
Branch analysis from position: 9
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/1quOm
function name:  f
number of ops:  11
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E > > FE_RESET_R                                           $3      !0, ->6
          1    > > FE_FETCH_R                                                   $3, !1, ->6
    6     2    >   FE_FREE                                                      $3
          3      > FAST_CALL                                                    ->9
          4    > > RETURN                                                       null
    5     5*       JMP                                                          ->1
          6    >   FE_FREE                                                      $3
    8     7      > FAST_CALL                                                    ->9
          8    > > JMP                                                          ->10
          9    > > FAST_RET                                                     
   10    10    > > RETURN                                                       null

End of function f

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
155.14 ms | 1317 KiB | 12 Q