On Mon, 2002-06-03 at 13:42, Jared Boelens wrote:
> This may be a dumb question but, how can you be sure that the $this-> is
> referring to the parent classes' property and not the current class.  On
> that note, does it really matter of which one it refers?

B inherits $b from A. $this->b and "parent"->b are the exact same thing.
This is why there's no special syntax to access "parent"->b from PHP.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to