<?php error_reporting(-1); interface Supertype {} class Superclass implements Supertype { public function fn(Superclass $x) {} } class Subclass extends Superclass { public function fn(Supertype $x) {} } new Subclass;
You have javascript disabled. You will not be able to edit any code.