Re: cvs: phpdoc /en/functions var.xml

From: Date: Sun, 18 Mar 2001 13:33:12 +0000
Subject: Re: cvs: phpdoc /en/functions var.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334733@lists.php.net to get a copy of this message
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" <jmcastagnetto@yahoo.com> To: <phpdoc@lists.php.net> 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 > > > >

« previous php.doc (#969334733) next »