3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.79 ms | 1393 KiB | 13 Q