Re: is_scalar
| From: | Zak Greant | Date: | Sun, 24 Jun 2001 05:11:50 +0000 |
| Subject: | Re: is_scalar | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-57812@lists.php.net to get a copy of this message | ||
Hi Andi,
Thanks for the clarification - I have noted it in the function writeup.
--zak
----- Original Message -----
From: "Andi Gutmans" <andi@zend.com>
To: "Zak Greant" <jag@nucleus.com>; <php-dev@lists.php.net>
Sent: Saturday, June 23, 2001 9:59 PM
Subject: Re: [PHP-DEV] is_scalar
> At 05:21 PM 6/23/2001 -0600, Zak Greant wrote:
> >Hello All,
> >
> >I was just reviewing the is_scalar() function and noted that the function
> >does not consider resources to be scalar values.
> >
> >Shouldn't this be changed? I must have missed this when I initially wrote
> >the function...
>
> I don't think resources should be scalar. They are abstract datatypes
which
> happen to be in ID (integer) form. As I've always said, people should
count
> on it being an integer as this could change one day.
>
> Andi
>
>
> --
> 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
>