Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11987 invoked by uid 1010); 29 Nov 2005 17:36:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11972 invoked from network); 29 Nov 2005 17:36:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2005 17:36:50 -0000 X-Host-Fingerprint: 194.185.112.82 194-185-112-82.f5.ngi.it Linux 2.4/2.6 Received: from ([194.185.112.82:48109] helo=roast.hq.mobyt.it) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 85/CA-14828-FA19C834 for ; Tue, 29 Nov 2005 12:36:48 -0500 Received: (qmail 4316 invoked from network); 29 Nov 2005 18:34:50 +0100 Received: from webdev.hq.mobyt.it (HELO ?10.20.20.4?) (10.20.20.4) by 0 with SMTP; 29 Nov 2005 18:34:50 +0100 Message-ID: <438C91AC.5050305@beccati.com> Date: Tue, 29 Nov 2005 18:36:44 +0100 User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Gareth Ardron CC: internals@lists.php.net References: <438C7A4C.9090503@fission.org.uk> <8E.A3.14828.D718C834@pb1.pair.com> <438C8E07.7050206@fission.org.uk> In-Reply-To: <438C8E07.7050206@fission.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: is_int/is_numeric possible bug From: php@beccati.com (Matteo Beccati) Gareth Ardron wrote: > Ron Korving wrote: >> Just out of curiosity, to which versions does this apply? > > 5.1.0b3->5.1.1 at least. Haven't got anything older to test on. As far as I know request variables have always been strings, and is_int() checks the variable type, not its content. I wonder how your code was previously working ;) For reference: http://www.php.net/is_int Best regards -- Matteo Beccati http://phpadsnew.com http://phppgads.com