echo -- output one or more strings


echo(string arg1, string [argn]...);

Outputs all parameters.

echo() is not actually a function (it is a language construct) so you are not required to use parantheses with it.

Example 1. echo example

echo "Hello World";

Note: In fact, if you want to pass more than one parameter to echo, you must not enclose the parameters within parentheses.

See also: print() printf() flush()