Mention the pseudo param $...

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242385 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-09-10 20:02:10 +00:00
parent a6383d0829
commit 9a31e46e87

View file

@ -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 @@ $var = NULL;
</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 @@ call_user_func(array($obj, 'myCallbackMethod'));
</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">