3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exception = new Exception('Exception'); try { throw $exception; } catch(Exception $e) { return; } 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 = 11, Position 2 = 8
Branch analysis from position: 11
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K6mSo
function name:  (null)
number of ops:  14
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                                                      ->9
    7     6  E > > CATCH                                       last         'Exception'
    8     7    > > FAST_CALL                                                ->11
          8    > > RETURN                                                   null
    9     9*       FAST_CALL                                                ->11
         10*       JMP                                                      ->13
   10    11    >   ECHO                                                     'Finally.'
         12      > FAST_RET                                                 
   11    13*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.76 ms | 1393 KiB | 13 Q