3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { try { var_dump(1); throw new \Exception; } finally { var_dump(2); } } catch(\Exception $e) { var_dump(get_class($e)); } finally { var_dump(3); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
Found catch point at position: 13
Branch analysis from position: 13
2 jumps found. (Code = 107) Position 1 = 14, Position 2 = -2
Branch analysis from position: 14
2 jumps found. (Code = 162) Position 1 = 20, Position 2 = 19
Branch analysis from position: 20
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jTRXm
function name:  (null)
number of ops:  25
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 1
          2        DO_ICALL                                                 
    5     3        NEW                                              $4      'Exception'
          4        DO_FCALL                                      0          
          5      > THROW                                         0          $4
    6     6*       FAST_CALL                                                ->8
          7*       JMP                                                      ->12
    7     8*       INIT_FCALL                                               'var_dump'
          9*       SEND_VAL                                                 2
         10*       DO_ICALL                                                 
         11*       FAST_RET                                                 
         12*       JMP                                                      ->18
    9    13  E > > CATCH                                       last         'Exception'
   10    14    >   INIT_FCALL                                               'var_dump'
         15        GET_CLASS                                        ~7      !0
         16        SEND_VAL                                                 ~7
         17        DO_ICALL                                                 
   11    18      > FAST_CALL                                                ->20
         19    > > JMP                                                      ->24
   12    20    >   INIT_FCALL                                               'var_dump'
         21        SEND_VAL                                                 3
         22        DO_ICALL                                                 
         23      > FAST_RET                                                 
   13    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.05 ms | 1395 KiB | 15 Q