svn: /phpdoc/en/trunk/reference/filter/ filters.xml
| From: | Christoph Michael Becker | Date: | Mon, 31 Aug 2015 23:09:47 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filter/ filters.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13673@lists.php.net to get a copy of this message | ||
cmb Mon, 31 Aug 2015 23:09:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337683
Log:
clarified converting behavior of FILTER_VALIDATE_(FLOAT|INT) (fixes #69226)
Bug: https://bugs.php.net/69226 (Verified)
FILTER_VALIDATE_FLOAT treats integers as floats
Changed paths:
U phpdoc/en/trunk/reference/filter/filters.xml
Modified: phpdoc/en/trunk/reference/filter/filters.xml
===================================================================
--- phpdoc/en/trunk/reference/filter/filters.xml 2015-08-31 21:49:07 UTC (rev 337682)
+++ phpdoc/en/trunk/reference/filter/filters.xml 2015-08-31 23:09:47 UTC (rev 337683)
@@ -69,7 +69,7 @@
<entry>
<constant>FILTER_FLAG_ALLOW_THOUSAND</constant>
</entry>
- <entry>Validates value as float.</entry>
+ <entry>Validates value as float, and converts to float on success.</entry>
</row>
<row>
<entry><constant>FILTER_VALIDATE_INT</constant></entry>
@@ -83,7 +83,7 @@
<constant>FILTER_FLAG_ALLOW_OCTAL</constant>,
<constant>FILTER_FLAG_ALLOW_HEX</constant>
</entry>
- <entry>Validates value as integer, optionally from the specified range.</entry>
+ <entry>Validates value as integer, optionally from the specified range, and converts
to int on success.</entry>
</row>
<row>
<entry><constant>FILTER_VALIDATE_IP</constant></entry>