- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Fatal error: Class C cannot extend from interface I in /in/MT3XI on line 8
Process exited with code 255.
<?php
interface I {
}
class C extends I {
}
interface BI {
function x(): I;
}
class BC implements BI {
function x(): C;
}