echoOutput one or more stringsDescriptionvoidechostringarg1stringargn...
Outputs all parameters.
echo is not actually a function (it is a
language construct) so you are not required to use parentheses
with it. In fact, if you want to pass more than one parameter
to echo, you must not enclose the parameters within parentheses.
echo examples
]]>
echo also has a shortcut syntax, where you can
immediately follow the opening tag with an equals sign. This short syntax
only works with the short_open_tag configuration setting
enabled.
foo.
]]>
For a short discussion about the differences between
print and echo, see this FAQTs
Knowledge Base Article: &url.echo-print;
¬e.language-construct;
See also
print,
printf, and
flush.