On Mon, Jan 14, 2002 at 07:25:18PM -0000, [EMAIL PROTECTED] wrote : > ID: 15030 > Updated by: hholzgra > Reported By: [EMAIL PROTECTED] > Status: Bogus > Bug Type: Output Control > Operating System: Debian Linux > PHP Version: 4.0.6 > New Comment: > > just a short explaination: echo contatenates nothing, > it *immediately* generates the requested output > plus arguments are evaluated before they are passed > to a function (lets assume "echo" is a function for > now) > > so before "echo" is called the argument string is > evaluated, for this Translate() is called, which > itself contains an echo call which is executed first now > > what you wand is "return $R;" instead of "echo $R;" > in Translate()
That's the most confusing explaination I've ever read :) -- Please always Cc to me when replying to me on the lists. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]