3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { throw new \Exception(); } catch (\Exception $e) { echo "Caught TestException\n"; throw new \Exception('xxx'); } finally { echo 'a'; throw new \Exception('yyy'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) 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
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/UOGtW
function name:  (null)
number of ops:  19
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $2      'Exception'
          1        DO_FCALL                                      0          
          2      > THROW                                         0          $2
          3*       JMP                                                      ->10
    6     4  E > > CATCH                                       last         'Exception'
    7     5    >   ECHO                                                     'Caught+TestException%0A'
    8     6        NEW                                              $4      'Exception'
          7        SEND_VAL_EX                                              'xxx'
          8        DO_FCALL                                      0          
          9      > THROW                                         0          $4
   10    10*       FAST_CALL                                                ->12
         11*       JMP                                                      ->18
   11    12*       ECHO                                                     'a'
   12    13*       NEW                                              $6      'Exception'
         14*       SEND_VAL_EX                                              'yyy'
         15*       DO_FCALL                                      0          
         16*       THROW                                         0          $6
         17*       FAST_RET                                                 
   13    18*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.71 ms | 1394 KiB | 13 Q