Re: problem with intval and !=
| From: | Robert Cummings | Date: | Thu, 23 Oct 2003 15:46:20 +0000 |
| Subject: | Re: problem with intval and != | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167302@lists.php.net to get a copy of this message | ||
On Thu, 2003-10-23 at 11:41, Cesar Cordovez wrote:
> Because is_integer("12thisisnotanumber") retuns true.
>
Not for me it doesn't. Returns false. Prolly because it's a string. Even
the following returns false for me:
is_integer("12")
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. |
`------------------------------------------------------------'