<?php class A { public function b(A $a) { var_dump($a); } } $x = new A(); $y = null; $x->b($y);
You have javascript disabled. You will not be able to edit any code.