Re: mixed type
| From: | Lars Torben Wilson | Date: | Tue, 12 Mar 2002 23:04:17 +0000 |
| Subject: | Re: mixed type | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88257@lists.php.net to get a copy of this message | ||
On Tue, 2002-03-12 at 14:33, max wrote:
> While looking thru php funcions (mixed ora_getcolumn ( int cursor, mixed
> column) in partucular)
> I came across type MIXED. What does that mean? There is no such type
> mentioned in the php
> docs under TYPES section.
>
> thanks.
>
> max.
It simply means that more than one type is valid at that point. In the
above example, it means that ora_getcolumn() can return variables of
different types. For instance, on failure, it returns FALSE (Boolean);
on success, it returns a string or NULL.
Hope this helps,
Torben
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506