3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BorkError extends EngineException {} try { throw new BorkError("bork bork bork"); } catch (\EngineException $ee) { echo $ee->getMessage(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
Found catch point at position: 6
Branch analysis from position: 6
2 jumps found. (Code = 107) Position 1 = 7, Position 2 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ldb0
function name:  (null)
number of ops:  11
compiled vars:  !0 = $ee
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'borkerror', 'engineexception'
    6     1        NEW                                              $1      'BorkError'
          2        SEND_VAL_EX                                              'bork+bork+bork'
          3        DO_FCALL                                      0          
          4      > THROW                                         0          $1
          5*       JMP                                                      ->10
    8     6  E > > CATCH                                       last         'EngineException'
    9     7    >   INIT_METHOD_CALL                                         !0, 'getMessage'
          8        DO_FCALL                                      0  $3      
          9        ECHO                                                     $3
   10    10      > RETURN                                                   1

Class BorkError: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.66 ms | 1393 KiB | 13 Q