3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { echo "trying"; die; } catch(Exception $e) { echo "caught"; } finally { echo "finally"; } echo "end";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 61) Position 1 = -2
Found catch point at position: 4
Branch analysis from position: 4
2 jumps found. (Code = 107) Position 1 = 5, Position 2 = -2
Branch analysis from position: 5
2 jumps found. (Code = 162) Position 1 = 8, Position 2 = 7
Branch analysis from position: 8
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pc9oc
function name:  (null)
number of ops:  12
compiled vars:  !0 = $e
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                         'trying'
    5     1      > INIT_FCALL                                                   'exit'
          2*       DO_ICALL                                                     
          3*       JMP                                                          ->6
    6     4  E > > CATCH                                           last         'Exception'
    7     5    >   ECHO                                                         'caught'
    8     6      > FAST_CALL                                                    ->8
          7    > > JMP                                                          ->10
    9     8    >   ECHO                                                         'finally'
          9      > FAST_RET                                                     
   12    10    >   ECHO                                                         'end'
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
207.2 ms | 2179 KiB | 14 Q