Re: #20760 : is it really the intended behavior ?
| From: | Sara Golemon | Date: | Mon, 28 Jun 2004 18:31:54 +0000 |
| Subject: | Re: #20760 : is it really the intended behavior ? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10832@lists.php.net to get a copy of this message | ||
> Derick claimed that it was an intended behavior, I'd like to
> make sure before documenting it. I'd also like to know why
> do we have this feature ? It's quiet confusing.
>
You would doubt Derick? Shame!
Yes, this is intended behavior, primarily to allow children to call parents
staticly and still have $this available for parents to modify properties.
The fact that it works across non-relatives is simply a side-effect.
-Sara