3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { $x = initSomething(); doSomething(); // may throw an exception } // no catch: exception keep their way // finally is always executed // with or without exception being caught finally{ $x->shutdown(); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 162) Position 1 = 7, Position 2 = 6
Branch analysis from position: 7
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wh9Ie
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                           'initSomething'
          1        DO_FCALL                                          0  $2      
          2        ASSIGN                                                       !0, $2
    5     3        INIT_FCALL_BY_NAME                                           'doSomething'
          4        DO_FCALL                                          0          
   12     5      > FAST_CALL                                                    ->7
          6    > > JMP                                                          ->10
   13     7    >   INIT_METHOD_CALL                                             !0, 'shutdown'
          8        DO_FCALL                                          0          
          9      > FAST_RET                                                     
   16    10    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
147.08 ms | 1490 KiB | 13 Q