3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.46 ms | 1397 KiB | 13 Q