Re: echo vs printf
| From: | rm | Date: | Mon, 16 Jul 2001 16:02:02 +0000 |
| Subject: | Re: echo vs printf | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58072@lists.php.net to get a copy of this message | ||
Actually, you can do the same thing with echo.
echo "you have $points points";
As I understand it, echo is not a function it's a
language something or other, supposedly it runs
slightly faster than print given the same output.
however, given it's Monday, I could be wrong.
rm
>
> also you can drop vars in print like
>
> print "you have $points points";
>
> whereas to echo it you'd have to concatenate the
> string.
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/