3v4l.org

run code in 300+ 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 = 79) Position 1 = -2
Found catch point at position: 3
Branch analysis from position: 3
2 jumps found. (Code = 107) Position 1 = 4, Position 2 = -2
Branch analysis from position: 4
2 jumps found. (Code = 162) Position 1 = 7, Position 2 = 6
Branch analysis from position: 7
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pc9oc
function name:  (null)
number of ops:  11
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'trying'
    5     1      > EXIT                                                     
          2*       JMP                                                      ->5
    6     3  E > > CATCH                                       last         'Exception'
    7     4    >   ECHO                                                     'caught'
    8     5      > FAST_CALL                                                ->7
          6    > > JMP                                                      ->9
    9     7    >   ECHO                                                     'finally'
          8      > FAST_RET                                                 
   12     9    >   ECHO                                                     'end'
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.02 ms | 1393 KiB | 13 Q