3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A {} interface B {} interface C extends A, B {} class Foo implements C {} var_dump((new Foo));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fhd3g
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'c'
    9     1        DECLARE_CLASS                                            'foo'
   11     2        INIT_FCALL                                               'var_dump'
          3        NEW                                              $0      'Foo'
          4        DO_FCALL                                      0          
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Class A: [no user functions]
Class B: [no user functions]
Class C: [no user functions]
Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.82 ms | 1394 KiB | 15 Q