Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25329 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10030 invoked by uid 1010); 12 Aug 2006 12:04:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10015 invoked from network); 12 Aug 2006 12:04:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2006 12:04:25 -0000 X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 209.142.136.132 msa2-mx.centurytel.net Linux 2.4/2.6 Received: from ([209.142.136.132:46579] helo=msa2-mx.centurytel.net) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id C8/93-19138-8C3CDD44 for ; Sat, 12 Aug 2006 08:04:25 -0400 Received: from pc1 (d19-198.rt-bras.wnvl.centurytel.net [69.179.146.198]) by msa2-mx.centurytel.net (8.13.6/8.13.6) with SMTP id k7CC4JEm007908; Sat, 12 Aug 2006 07:04:20 -0500 Message-ID: <005001c6be07$71d1c820$0201a8c0@pc1> To: , "Pierre" References: <005101c6b930$83f30b30$0201a8c0@pc1> <00fa01c6bd37$d61d1940$0201a8c0@pc1> <20060811141931.2ef39365@pierre-u64> <015b01c6bd4b$c6c47b00$0201a8c0@pc1> Date: Sat, 12 Aug 2006 07:04:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Subject: Re: [PHP-DEV] is_numeric_string causes function inconsistency From: php_lists@realplain.com ("Matt W") Hi Pierre, I will reply to the rest of your message later. Just wanted to quickly point out another thing I found with is_numeric_string() when the allow_errors param==0 (which is_numeric() PHP function uses) and there is *trailing* whitespace: is_numeric('1 ') // bool(false) Again, easy to fix, but I can't believe I didn't notice this simple one sooner. :-) Matt ----- Original Message ----- From: "Pierre" Sent: Friday, August 11, 2006 Hi Matt, ... Cheers, --Pierre