3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { print "before exception\n"; throw new RuntimeException(); print "after\n"; } finally { echo 'Stupid idea'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/gZLfR
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     'before+exception%0A'
    6     1        NEW                                              $1      'RuntimeException'
          2        DO_FCALL                                      0          
          3      > THROW                                         0          $1
    7     4*       ECHO                                                     'after%0A'
    9     5*       FAST_CALL                                                ->7
          6*       JMP                                                      ->9
   10     7*       ECHO                                                     'Stupid+idea'
          8*       FAST_RET                                                 
   11     9*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.23 ms | 1000 KiB | 13 Q