<?php interface Test { public function check(Test $x); } interface TestStrict extends Test { public function checkStrict(TestStrict $x); } class Foo implements TestStrict { //ok, exact match public function checkStrict(TestStrict $x) {} //fail, but TestStrict > Test I.e. //if $x fullfills TestStrict, it 100% satisfy Test too. //so - why? public function check(TestStrict $x) {} }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`