note 119221 rejected from function.filter-var by mazzanet
| From: | mazzanet@php.net | Date: | Thu, 21 Apr 2016 09:25:15 +0000 |
| Subject: | note 119221 rejected from function.filter-var by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-205297@lists.php.net to get a copy of this message | ||
Note Submitter: info at worldtimeline dot net
----
Please consider that:
var_dump( 10.35, filter_var( 10.35, FILTER_VALIDATE_FLOAT ) );
results in:
float(10,35)
bool(false)
I'm not sure if this is a bug but this goes against the manual reference