|
Posted by gosha bine on 09/27/07 21:00
Summercool wrote:
> On Sep 27, 8:43 am, gosha bine <stereof...@gmail.com> wrote:
>> Summercool 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.
>>
>
> I just wonder if the manual is incorrect equating PHP4's =& to
> PHP5's obj1 = obj2, then how come it is still there on the website
> for so long... and for the whole PHP user audience...
>
>
I'm wondering that too. I consider this wording quite harmful because
I've seen many people confused by the idea that php5 objects have
anything to do with references.
--
gosha bine
extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
Navigation:
[Reply to this message]
|