cvs: phpdoc /en/language types.xml
| From: | Hannes Magnusson | Date: | Mon, 10 Sep 2007 20:02:10 +0000 |
| Subject: | cvs: phpdoc /en/language types.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3@lists.php.net to get a copy of this message | ||
bjori Mon Sep 10 20:02:10 2007 UTC
Modified files:
/phpdoc/en/language types.xml
Log:
Mention the pseudo param $...
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types.xml?r1=1.185&r2=1.186&diff_format=u
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.185 phpdoc/en/language/types.xml:1.186
--- phpdoc/en/language/types.xml:1.185 Fri Aug 17 09:25:14 2007
+++ phpdoc/en/language/types.xml Mon Sep 10 20:02:10 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.185 $ -->
+<!-- $Revision: 1.186 $ -->
<chapter xml:id="language.types" xmlns="http://docbook.org/ns/docbook">
<title>Types</title>
@@ -102,10 +102,13 @@
</listitem>
</itemizedlist>
+ And the pseudo-variable <parameter>$...</parameter>.
+ </para>
+ <simpara>
You may also find some references to the type "double". Consider
double the same as float, the two names exist only for historic
reasons.
- </para>
+ </simpara>
<simpara>
The type of a variable is usually not set by the programmer;
@@ -2332,7 +2335,7 @@
</sect1>
<sect1 xml:id="language.pseudo-types">
- <title>Pseudo-types used in this documentation</title>
+ <title>Pseudo-types and variables used in this documentation</title>
<sect2 xml:id="language.types.mixed">
<title>mixed</title>
@@ -2445,6 +2448,15 @@
</para>
</sect2>
+ <sect2 xml:id="language.types.dotdotdot">
+ <title>...</title>
+ <para>
+ <parameter>$...</parameter> in function prototypes means
+ <literal>and so on</literal>.
+ This variable name is used when a function can take an endless number of
+ arguments.
+ </para>
+ </sect2>
</sect1>
<sect1 xml:id="language.types.type-juggling">