Is there anyway to get the name of the instance of an object inside the class definition ?
ex:
class test { function some () { $bla=getname(); // $bla="obj" } }
$obj=new test;
-Paulo
Out of curiosity, why would you need this? Inside of the class you can reference itself with $this.
Chris King
Because i need to test if the name of the instance is for example maxzone.