note 16241 rejected from function.is-int by zak
| From: | zak@php.net | Date: | Mon, 22 Oct 2001 16:50:09 +0000 |
| Subject: | note 16241 rejected from function.is-int by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19279@lists.php.net to get a copy of this message | ||
Try to read documentation. PHP group recommend to add zero to value to force it be integer. And also
you can use it to determenee - is it integer?
if(($a + 0) == $a) {
true
}else{
false
}
---
in any case. :)