Hi!

> A recent suggestion from Stas is to use parent->$foo (note the use of -> 
> rather than ::)

I actually proposed parent->foo. parent->$foo implies the name of the
variable is "$foo", not "foo" - just as in $this->$foo. Yes, I know it
does not match parent::$foo - but I can't do much about it. In any case,
better not to add another inconsistency to the list of existing ones.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to