note 22873 deleted from function.is-int by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 10:15:53 +0000 |
| Subject: | note 22873 deleted from function.is-int by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48499@lists.php.net to get a copy of this message | ||
Note Submitter: calvinlu@digiopen.com
----
I thing quotation will help
function str_is_int($str) {
$var=intval($str);
return ("$str"=="$var");
}