Re: is_numeric_string causes function inconsistency
| From: | Pierre | Date: | Sat, 12 Aug 2006 12:13:27 +0000 |
| Subject: | Re: is_numeric_string causes function inconsistency | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25330@lists.php.net to get a copy of this message | ||
Hello,
On 8/12/06, Matt W <php_lists@realplain.com> wrote:
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)Yes, it is still about allowing leading/trailing whitespaces :-) --Pierre