|
Posted by Jerry Stuckle on 01/01/07 15:59
howa wrote:
> according to the php manual, it said:
>
> Do not use return-by-reference to increase performance, the engine is
> smart enough to optimize this on its own.
>
> I doubt if this only apply to the PHP5 engine, while if I am using
> PHP4, performance is a factor to continue to use return by refercnece?
>
Even in PHP 4 you won't find a significant difference (if any) between
return by reference and return by value.
If you're having performance problems, I'd suggest doing some debugging
to figure out where the problems really are.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|