Re: is_numeric_string causes function inconsistency

From: Date: Sat, 12 Aug 2006 12:04:20 +0000
Subject: Re: is_numeric_string causes function inconsistency
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-25329@lists.php.net to get a copy of this message
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

« previous php.internals (#25329) next »