Me too. I use echo. Print is a function.
There's no significant difference between them. My advice: choose one,
and stick with it.
On 4/16/07, clive <[EMAIL PROTECTED]> wrote:
> What do you guys use, and what is the advantage (if ther is any) of
> print over echo? And I am not talking about print_r or anything, just
> the regular print. :o)
print returns a result, echo doesn't. This makes echo slightly faster
than print, but I doubt theres any significant speed improvement using
echo instead of print.
I use echo, but thats just because its a habit.
--
Regards,
Clive.
{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and some may well have enjoyed
the experience.}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php