<?php class Foo { function getClass() { return __CLASS__; } } $bar = new Foo(); $b = $bar->getClass(); var_dump($bar instanceof $b);
You have javascript disabled. You will not be able to edit any code.