note 16241 added to function.is-int

From: Date: Mon, 22 Oct 2001 11:40:14 +0000
Subject: note 16241 added to function.is-int
Groups: php.notes 
Request: Send a blank email to php-notes+get-19253@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. :) -- http://www.php.net/manual/en/function.is-int.php http://master.php.net/manage/user-notes.php?action=edit+16241 http://master.php.net/manage/user-notes.php?action=delete+16241 http://master.php.net/manage/user-notes.php?action=reject+16241

« previous php.notes (#19253) next »