Reply to Re: Why Returning References can't provide speed up?

Your name:

Reply:


Posted by Rik on 02/09/07 15:23

On Fri, 09 Feb 2007 16:14:30 +0100, howa <howachen@gmail.com> wrote:

>
>>
>> No, it is not assigned to anything. The results are echoed and
>> discarded,
>> you are not using it's results again as you have not assigned it
>> anywhere.
>> Any variables within a function's scope are discarded on exit (unless
>> declared static).
>>
>
> yes, it is echoed and discarded, but my point is:
>
> you need to allocate extra memory for storing the output of md5, so
> return by reference also make sense. (as well as your one above)

Return by reference does not make sense because the engine already does
this internally. What's it about 'the engine already does this' that you
do not understand?
--
Rik Wasmus

[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

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