note 10157 deleted from function.intval by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 10:07:55 +0000 |
| Subject: | note 10157 deleted from function.intval by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48488@lists.php.net to get a copy of this message | ||
Note Submitter: nefer@ncport.ru
----
[Editor's Note: Or just use is_int()! ;) --zak@php.net]
if(intval($param) == $param) {
// $param is integer...
}else{
// $param is NOT integer...
}
Funny and taste... :)