You are here: Re: Functions Returning large strings « PHP « IT news, forums, messages
Re: Functions Returning large strings

Posted by zzapper on 09/29/05 15:11

On Thu, 29 Sep 2005 11:48:10 +0200, wrote:

>Hi
>> I have a series of nested functions which recursively return a large string (as apposed
>> to working on global string) , is this inefficient? Or is PHP clever enough
>> to just pass a pointer?
>
>> $large_string=fn_one(fn_two(fn_three($some_long_string))));
>
>PHP is by no means clever enough to read your mind as to what you want it to
>do.
>
No slight meant to PHP, just wanted to know whether I had to worry about it, according to your
reply seems like I must.





--
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/

 

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

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