I think I already know the answer to this question, but I just 
want to make certain.
Is there a way that a class can know the name of the variable
used to instantiate it?

So if you do:

$joeBob = new myClass();

"myClass" can somehow know that "joeBob" is the name of
it's instance?

I'm thinking 'no', but would like verification.  Nothing I've been
able to do has gotten this to work so that lends credence to my
thinking, but again, I just want to be certain.

Thanks!

Chris

Reply via email to