I’ve seen something like this:
echo ($hello->somethingA->somethingB);
What does this mean?
I will try to make my question more clear:
When we have $domain->something; (we are accessing something PROPERTY of $domain OBJECT. precise?
When we have $domain->something->run(); we are telling our something PROPERTY of $DOMAIN OBJECT to access run() METHOD. precise?
So what are we telling with: echo ($hello->somethingA->somethingB); ? Accessing some properties property? Does this makes sense?
Thanks in advance,
MEM
Yes, you are accessing a property’s property. Apparently, $hello is an object with a property named $somethingA. That property is an object that has a property named $somethingB. $somethingB is apparently a string or some other type that can be echoed out.