note 92677 deleted from function.is-int by danbrown
| From: | danbrown@php.net | Date: | Mon, 03 Aug 2009 20:15:09 +0000 |
| Subject: | note 92677 deleted from function.is-int by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-159064@lists.php.net to get a copy of this message | ||
Note Submitter: ricierik at gmail dot com
----
@ Roberto Rama
Your function works great, but only if the input is an unsigned integer number. what if I put in
"-234"?
If someone needs a better way or an extended way of checking integers, I suggest you take a look at
the function that was written by paulo dot koch at g_mail dot com, but corrected by leonix at motd
dot ru.
Or use the function that was written by mark at codedesigner dot nl which also supports signed
integers.