<?php namespace X; class A { public function foo(\Y\B $b) { return $b->bar(); } } namespace Y; class B extends \X\A { protected function bar() { return 'OK'; } } echo (new \X\A)->foo(new B);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`