3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A extends IteratorAggregate {} interface B extends IteratorAggregate, A {} // Should error interface C extends A, IteratorAggregate {} // Does error
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HHH8Q
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'a'
    5     1        DECLARE_CLASS                                            'b'
    7     2        DECLARE_CLASS                                            'c'
          3      > RETURN                                                   1

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.41 ms | 1392 KiB | 13 Q