Re: Re: is_int/is_numeric possible bug

From: Date: Tue, 29 Nov 2005 18:09:23 +0000
Subject: Re: Re: is_int/is_numeric possible bug
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-20858@lists.php.net to get a copy of this message
So when you said "and somebody enters, say "jkhdsjh" into the form, is_int() returns 1" you were not really saying it as it was? $var = "jkhdsjh"; is_int($var) should _not_ result in true. i figured you were talking about a true bug here... Ron "Gareth Ardron" <gareth@fission.org.uk> wrote in message news:438C9695.7030802@fission.org.uk... > Stefan Esser wrote: > > Please move the discussion to php general mailinglist. This is a > > usererror, a misunderstanding of is_int vs. is_numeric. > > > My bad therefore, misunderstanding of the docs as you say. > > Not sure I think it's entirely sane, but feh - it's been a long day, > what do I know, etc etc. > > Cheers to those who replied.

« previous php.internals (#20858) next »