RE: [PHP] Char check
| From: | Boaz Yahav | Date: | Wed, 12 Mar 2003 20:51:18 +0000 |
| Subject: | RE: [PHP] Char check | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139388@lists.php.net to get a copy of this message | ||
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