php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #2594 php Manual wrong description for echo
Submitted: 1999-10-24 02:39 UTC Modified: 1999-10-24 05:09 UTC
From: naklar at altavista dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.11 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: naklar at altavista dot net
New email:
PHP Version: OS:

 

 [1999-10-24 02:39 UTC] naklar at altavista dot net
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-24 05:09 UTC] cslawi at cvs dot php dot net
A note to this effect was added to the documentation on 
June 21, 1999.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 07:00:02 2026 UTC