Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20858 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35190 invoked by uid 1010); 29 Nov 2005 18:12:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 35175 invoked from network); 29 Nov 2005 18:12:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2005 18:12:16 -0000 X-Host-Fingerprint: 81.68.134.212 c514486d4.cable.wanadoo.nl Received: from ([81.68.134.212:29838] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A6/0E-14828-00A9C834 for ; Tue, 29 Nov 2005 13:12:16 -0500 Message-ID: To: internals@lists.php.net References: <438C7A4C.9090503@fission.org.uk> <8E.A3.14828.D718C834@pb1.pair.com> <438C8E07.7050206@fission.org.uk> <438C91AC.5050305@beccati.com> <438C92F2.4010802@fission.org.uk> <438C9531.3050707@hardened-php.net> <438C9695.7030802@fission.org.uk> Date: Tue, 29 Nov 2005 19:09:23 +0100 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Posted-By: 81.68.134.212 Subject: Re: [PHP-DEV] Re: is_int/is_numeric possible bug From: r.korving@xit.nl ("Ron Korving") 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" 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.