Based on the research I've made it is legal by the OO principles and SHOULD work but it got omitted somehow in the trade-off during the implementation.
Also NOT available in java.lang.
Also NOT available in java.lang.
function my_func(I $x)
{
$x->foo(new stdClass);
}
That wouldn't be allowed, since your code requires an instance of Test, not stdClass