Re: problem with intval and !=
| From: | Robert Cummings | Date: | Thu, 23 Oct 2003 16:44:01 +0000 |
| Subject: | Re: problem with intval and != | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167315@lists.php.net to get a copy of this message | ||
On Thu, 2003-10-23 at 12:28, Greg Beaver wrote:
> Hello all,
>
> http://www.php.net/is_numeric
>
> is the function you are looking for. No need for fancy regexps.
Sorry, that doesn't cut it. He want's integers not floats, and I'm also
sure he doesn't want exponential notation to pass either.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'