Date: 06/23/01
- Next message: Andi Gutmans: "Re: [PHP-DEV] module versioning"
- Previous message: rhanic <email protected>: "[PHP-DEV] Bug #11636: udm_set_agent_param($agent,UDM_PARAM_PAGE_NUM,$num) Doesn't set the active page"
- In reply to: Zak Greant: "[PHP-DEV] is_scalar"
- Next in thread: Zak Greant: "Re: [PHP-DEV] is_scalar"
- Reply: Zak Greant: "Re: [PHP-DEV] is_scalar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] module versioning"
- Previous message: rhanic <email protected>: "[PHP-DEV] Bug #11636: udm_set_agent_param($agent,UDM_PARAM_PAGE_NUM,$num) Doesn't set the active page"
- In reply to: Zak Greant: "[PHP-DEV] is_scalar"
- Next in thread: Zak Greant: "Re: [PHP-DEV] is_scalar"
- Reply: Zak Greant: "Re: [PHP-DEV] is_scalar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

