If this is the case, you may want to reword the "unset() destroys the
specified variables and returns true". How can the proto say it returns a
void type, yet the definition says it returns true?
Daniel
----- Original Message -----
From: "Jesus M. Castagnetto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 17, 2001 12:30 AM
Subject: [PHP-DOC] cvs: phpdoc /en/functions var.xml
> jmcastagnetto Fri Mar 16 22:30:10 2001 EDT
>
> Modified files:
> /phpdoc/en/functions var.xml
> Log:
> unset is a construct not a function, removed the incorrect (int) return
>
>
> Index: phpdoc/en/functions/var.xml
> diff -u phpdoc/en/functions/var.xml:1.36 phpdoc/en/functions/var.xml:1.37
> --- phpdoc/en/functions/var.xml:1.36 Fri Mar 9 07:33:03 2001
> +++ phpdoc/en/functions/var.xml Fri Mar 16 22:30:09 2001
> @@ -1021,7 +1021,7 @@
> <title>Description</title>
> <funcsynopsis>
> <funcprototype>
> - <funcdef>int <function>unset</function></funcdef>
> + <funcdef>void <function>unset</function></funcdef>
> <paramdef>mixed <parameter>var</parameter></paramdef>
> <paramdef>mixed
<parameter><optional>var</optional></parameter></paramdef>
>
<paramdef><parameter><optional>...</optional></parameter></paramdef>
> @@ -1143,6 +1143,11 @@
> foo();
> </programlisting>
> </informalexample>
> + </para>
> + <para>
> + <note>
> + <function>unset</function> is a language construct.
> + </note>
> </para>
> <para>
> See also <function>isset</function> and
>
>
>
>