3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ExceptionMap extends \Throwable { } interface BadMethodCallExceptionMap extends ExceptionMap { } throw new class extends \BadMethodCallException implements BadMethodCallExceptionMap {};
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/oBrtp
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'exceptionmap'
    8     1        DECLARE_CLASS                                            'badmethodcallexceptionmap'
   13     2        DECLARE_ANON_CLASS                               <ptr>   'badmethodcallexception'
          3        NEW                                              $1      $0
          4        DO_FCALL                                      0          
          5      > THROW                                         0          $1
          6*     > RETURN                                                   1

Class ExceptionMap: [no user functions]
Class BadMethodCallExceptionMap: [no user functions]
Class BadMethodCallException@anonymous: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.28 ms | 1392 KiB | 13 Q