|
Posted by ZeldorBlat on 07/09/07 00:33
On Jul 8, 7:37 pm, Dilemma <earthly_dil...@hotmail.com> wrote:
> I'm wondering what, if any, the difference between
> echo("blahblahblah"); and echo "blahblahblah"; is.
>
> Is this just a version thing or are there actual
> functional differences?
>
> Thank you.
No difference for the most part. The only difference is if you want
to pass multiple parameters to it, which most people don't do anyway.
>From the manual on echo:
"echo() is not actually a function (it is a language construct), so
you are not required to use parentheses with it. echo() (unlike some
other language constructs) does not behave like a function, so it
cannot always be used in the context of a function. Additionally, if
you want to pass more than one parameter to echo(), the parameters
must not be enclosed within parentheses."
Navigation:
[Reply to this message]
|