3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.76 ms | 1429 KiB | 13 Q