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

From: Date: Mon, 19 Mar 2001 08:49:43 +0000
Subject: Re: cvs: phpdoc /en/functions var.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334739@lists.php.net to get a copy of this message
I missed that one. Tnxs for the info, and I will modify it so you will not need to ;-) --- Daniel Beckham <danbeck@dealnews.com> wrote: > 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 > > > > > > > > > ===== --- Jesus M. Castagnetto <jmcastagnetto@php.net> __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

« previous php.doc (#969334739) next »