|
Posted by Jerry Stuckle on 09/28/07 03:47
Summercool wrote:
> On Sep 27, 8:43 am, gosha bine <stereof...@gmail.com> wrote:
>
>> The manual is incorrect at this point. Object variables in php5 are
>> assigned by value, just like in php4, but this very value is different
>> in php5 - it's a pointer to the object, not the object itself. But this
>> is essentially another story and has nothing to do with references.
>>
>> --
>> gosha bine
>
> i think pointer and reference are the same thing, like in Java and
> Ruby.
> In PHP, what the manual calls "reference" is actually not a reference
> in other languages... it is like an alias or (a nickname).
>
>
No, pointer and reference are NOT the same thing. It's a common
misconception which screws a lot of people up when the difference is
important.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|