Re: [PHP] Re: $this->value VS $value

2008-09-23 Thread uaca man
Just for closure: so many year believing that $value and $this->value was the same!!! Tks everyone for the quick answer :) Ângelo 2008/9/23 Colin Guthrie <[EMAIL PROTECTED]>: > Nathan Rixham wrote: >> >> yeah that's right; add in one more line and the reason why is apparent.. > > Well I think "i

[PHP] Re: $this->value VS $value

2008-09-23 Thread Colin Guthrie
Nathan Rixham wrote: yeah that's right; add in one more line and the reason why is apparent.. Well I think "is apparent" is a bit strong considering e.g. C++ syntax where syntax is equally valid but the semantics are different. So to answer the OPs question, yes this is different in PHP comp

Re: [PHP] Re: $this->value VS $value

2008-09-23 Thread Jim Lucas
uaca man wrote: > Yes, it is not the same. Should it be the same? > > 2008/9/23 Nathan Rixham <[EMAIL PROTECTED]>: >> uaca man wrote: >>> Hello to all my fellow members of the PHP community. >>> >>> As a personal rule i always use $this in front of class members, but i >>> always knew from others

Re: [PHP] Re: $this->value VS $value

2008-09-23 Thread uaca man
Yes, it is not the same. Should it be the same? 2008/9/23 Nathan Rixham <[EMAIL PROTECTED]>: > uaca man wrote: >> >> Hello to all my fellow members of the PHP community. >> >> As a personal rule i always use $this in front of class members, but i >> always knew from others programing languages and

[PHP] Re: $this->value VS $value

2008-09-23 Thread Nathan Rixham
uaca man wrote: Hello to all my fellow members of the PHP community. As a personal rule i always use $this in front of class members, but i always knew from others programing languages and i guess I just thought it was same in PHP that without $this keyword it should work just the same, however