> > $joeBob = new myClass();
> > "myClass" can somehow know that "joeBob" is the name of
> > it's instance?
> > I'm thinking 'no', but would like verification.
> I'm not aware of a way to do so. I'm curious why you'd want
> to? If you want to pass "joeBob" to the class you can do so as the
> p
"Boget, Chris" <[EMAIL PROTECTED]> wrote:
> 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.
I'm not aware of a way to do so. I'm curious why you'd want to? If you
want to
2 matches
Mail list logo