<?php class Test { static public function getNew() { return new static; } } $a = new Test(); $b = new Test(); $c = new $a; var_dump($a !== $b); var_dump($a !== $c);
You have javascript disabled. You will not be able to edit any code.