note 11242 added to is_int

From: Date: Mon, 12 Feb 2001 16:21:41 +0000
Subject: note 11242 added to is_int
Groups: php.notes 
Request: Send a blank email to php-notes+get-10948@lists.php.net to get a copy of this message
I have found preg_match('/^\d+$/',$var) to be a better indicator. http://www.php.net/manual/en/function.is-int.php

« previous php.notes (#10948) next »