From 27427a8ec05ef3493ad966408309c853e3b3fced Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 31 Aug 2015 23:09:47 +0000 Subject: [PATCH] clarified converting behavior of FILTER_VALIDATE_(FLOAT|INT) (fixes #69226) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337683 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filter/filters.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/filter/filters.xml b/reference/filter/filters.xml index fcfc175c99..72501d0c94 100644 --- a/reference/filter/filters.xml +++ b/reference/filter/filters.xml @@ -69,7 +69,7 @@ FILTER_FLAG_ALLOW_THOUSAND - Validates value as float. + Validates value as float, and converts to float on success. FILTER_VALIDATE_INT @@ -83,7 +83,7 @@ FILTER_FLAG_ALLOW_OCTAL, FILTER_FLAG_ALLOW_HEX - Validates value as integer, optionally from the specified range. + Validates value as integer, optionally from the specified range, and converts to int on success. FILTER_VALIDATE_IP