Return values of get_resource_type()?
| From: | Gustafson, Mårten | Date: | Wed, 19 Jul 2000 16:11:40 +0000 |
| Subject: | Return values of get_resource_type()? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25135@lists.php.net to get a copy of this message | ||
What are possible return values of get_resource_type()?
Executing it on a odbc resource only returns "Unknown".
regards
--marten
> -----Original Message-----
> From: Sascha Schumann [mailto:sascha@schumann.cx]
> Sent: Wednesday, July 19, 2000 4:54 PM
> To: Mathieu Kooiman (ggInternet)
> Cc: Stanislav Malyshev; Andrei Zmievski; PHP Development Mailinglist
> Subject: Re: [PHP-DEV] New function bytesize()
>
>
> On Wed, 19 Jul 2000, Mathieu Kooiman (ggInternet) wrote:
>
> > sizeof(char) * (*string)->value.str.len ?!
> > Anyone got some "binary safe unicode safe" idea on this?!
>
> What are you actually trying to achieve? value.str.len contains
> the length of the accessible area in bytes already. No need to
> multiply it with a value which won't change over the next few
> decades. In a couple of years, wchar_t might become more
> prominent, but I don't see any reason to change the meaning of
> the len property.
>
> - Sascha
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>