Bug #2594: php Manual wrong description for echo
| From: | naklar at altavista dot net | Date: | Sun, 24 Oct 1999 06:39:08 +0000 |
| Subject: | Bug #2594: php Manual wrong description for echo | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11852@lists.php.net to get a copy of this message | ||
From: naklar@altavista.net
Operating system: all
PHP version: 3.0.11
PHP Bug Type: Documentation problem
Bug description: php Manual wrong description for echo
echo
http://www.php.net/manual/html/function.echo.html
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";
$text = "I'm a string !";
echo ($text,$text,$text);
results into an error. The brackets may not be used.