<?php error_reporting(~(E_STRICT|E_DEPRECATED)); class A { public function hi(self $a) { var_dump($a); } } $a = new A; $b = new stdClass; $a->hi($b);
You have javascript disabled. You will not be able to edit any code.