Reply to Re: Returning References

Your name:

Reply:


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
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация