Posted by Oliver Grδtz on 05/25/07 00:11
ashore schrieb:
> Please point me to some explanation of subject symbol's use in
>
> $obj = &new whatever
This means that you are looking at OLD CODE where PHP did the following
without the "&": It would create a new whatever object, then make a copy
of that object and then assign this copy to $obj.
Objects are returned as references by default since PHP5 and it's better
to remove this if you are using the code in PHP5 since it allows for
more efficient memory management (IWBGID).
OLLi
--
"ack ack ack"
[Mars Attacks]
Navigation:
[Reply to this message]
|