Re: With End With
| From: | jason davidson | Date: | Thu, 11 Dec 2003 04:53:53 +0000 |
| Subject: | Re: With End With | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6350@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
for the life of me I cant remember the date of it, (or even find it on google/zend.com/marc.theaimsgroup... etc.) from what i remember, it had a number of flaws. a) ambiguaty of the source of a variable or method, (as it was originally illustrated as poluting the local variable namespace) b) the same (or similar) result, could easily be done using aliases, eg. $a = &$this->xxx->yyyy $a->doThis(); rather than with ($this->xxx->yyy) {doThis();} Regards Alan jason davidson wrote:If someone could help me find the discusions on the topic, i would greatly appreciate it. I searched and have not found anything yet. Or if someone could explain why the idea was rejected. Thanks jasonRegarding being able to produce the same result with current constucts, there is no argument, your right, im not at all implying its a necassary construct, regarding ambiguity, it is well implemented in other languages without problem.