3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.12 ms | 1395 KiB | 15 Q