<?php error_reporting(E_ALL & ~E_STRICT); class A { public function doSth(A $a) { echo 'asd'; } } class B { } $a = new A(); $b = new B(); $a->doSth($b);
You have javascript disabled. You will not be able to edit any code.