why are you using this construct instead of echo()?

e.g. echo("Hey there " . foo::bar($baz) . " how are you doing?");

        Tim Ward
        Senior Systems Engineer

Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html


> -----Original Message-----
> From: kevin1 [mailto:[EMAIL PROTECTED]]
> Sent: 02 March 2001 09:57
> To: php-general
> Subject: function questions
> 
> 
> I have a here doc:
> 
> print <<<END
> Hey there foo::bar($baz) how are you doing?
> END;
> 
> foo::bar is a method that returns the name of $baz. I can't 
> seem to get 
> that to interpolate properly. It would make my life cleaner 
> and easier 
> if this could work. Is this at all possible?
> 
> 
> 

-- 
PHP General 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]

Reply via email to