Agreed. Some people may actually be using $parent as a variable name, not difficult to imagine.

So far parent->foo seems to be the answer.

-Clint

On 1/4/2013 4:23 PM, Stas Malyshev wrote:
Hi!

One other possible alternative would be to treat parent "like a variable..."

$parent->foo
That would be a big BC problem and also require serious changes to
handle it (look how $this is implemented - it's not regular variable at
all). So $parent is probably a non-starter.

--
-Clint

Reply via email to