CVS update: phpdoc/functions
| From: | jim | Date: | Mon, 21 Jun 1999 22:16:42 +0000 |
| Subject: | CVS update: phpdoc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7355@lists.php.net to get a copy of this message | ||
Date: Monday June 21, 1999 @ 18:16
Author: jim
Update of /repository/phpdoc/functions
In directory php:/tmp/cvs-serv26882
Modified Files:
strings.sgml
Log Message:
Add note about not using parens when passing more than one parameter to echo.
Index: phpdoc/functions/strings.sgml
diff -u phpdoc/functions/strings.sgml:1.5 phpdoc/functions/strings.sgml:1.6
--- phpdoc/functions/strings.sgml:1.5 Sat Jun 19 18:12:06 1999
+++ phpdoc/functions/strings.sgml Mon Jun 21 18:16:42 1999
@@ -247,17 +247,25 @@
</funcsynopsis>
<simpara>
Outputs all parameters.
- <para>
- <function>echo</function> is not actually a function (it
- is a language construct) so you are not required to use
- parantheses with it.
+ <para>
+ <function>echo</function> is not actually a function (it
+ is a language construct) so you are not required to use
+ parantheses with it.
+
<example><title>echo example</title>
<programlisting>
echo "Hello World";
</programlisting>
</example>
</para>
+
+ <note>
+ <para>
+ In fact, if you want to pass more than one parameter to
+ echo, you must not enclose the parameters within parentheses.
+ </para>
+ </note>
<simpara>
See also: