Re: Char check
| From: | Pete James | Date: | Wed, 12 Mar 2003 21:03:28 +0000 |
| Subject: | Re: Char check | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139393@lists.php.net to get a copy of this message | ||
Try is_numeric()?
Boaz Yahav wrote:
>
> Maybe this can help
>
> Check int / integer - checking if a variable is an integer or not. The
> php is_int() function does not check if the string value is integer or
> not.
>
> http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1705
>
> How to check if a string has only specific characters?
>
> http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1328
>
> Sincerely
>
> berber
>
> Visit http://www.weberdev.com/ Today!!!
> To see where PHP might take you tomorrow.
>
> -----Original Message-----
> From: Fredrik [mailto:sd@nextgentel.no]
> Sent: Thursday, February 13, 2003 2:39 PM
> To: php-general@lists.php.net
> Subject: [PHP] Char check
>
> Hi
>
> I want to check if $var is a char or an int.
>
> Freddy
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php