Posted by duzhidian@gmail.com on 10/28/07 18:25
Hello: When I need a function to generate a string, I have two methods: 1. pass by reference: mystring = ""; myfunction( mystring ); // prototype of myfunction( &anystring ); OR 2. mystring = myfunction(); //which return a string According to experience of C/C++, the former one is better as of the efficient, how about PHP? Thanks.
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming