Re: cvs: phpdoc /en/reference/dba/functions dba-open.xml
| From: | Gabor Hojtsy | Date: | Thu, 07 Nov 2002 17:30:29 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/dba/functions dba-open.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349469@lists.php.net to get a copy of this message | ||
> > - <type>resource</type><methodname>dba_open</methodname>
> > +
> > <type>resource|false</type><methodname>dba_open</methodname>
>
> Can you please explain the addition of false here? Does
> this return false on failure? Or will it at some point
> return false yet not fail? That would be odd. Anyway,
> please explain.
>
> If it just returns false on failure, false does not get listed here
> but rather it's described later on in the description. If a function
> happens to return different types while not failing, it's labeled as
> mixed.
False is not a type anyway, and there should only be one <type>
listed in a <type>...
Goba