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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Fri Jun 26 09:00:01 2026 UTC