You are here: Re: Why Returning References can't provide speed up? « PHP Programming Language « IT news, forums, messages
Re: Why Returning References can't provide speed up?

Posted by howa on 02/09/07 15:14

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

 

Navigation:

[Reply to this 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

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