|
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/
[Back to original message]
|