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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]