From e5f52bed940cf04f52aac9d5bdd4ce97a2dc4f42 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Sat, 25 Jun 2016 11:41:33 +0000 Subject: [PATCH] Fix #72490: FILTER_VALIDATE_INT: unexpected result for bool and float git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339488 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filter/functions/filter-var.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference/filter/functions/filter-var.xml b/reference/filter/functions/filter-var.xml index 392ead1eb7..43dc0d6310 100644 --- a/reference/filter/functions/filter-var.xml +++ b/reference/filter/functions/filter-var.xml @@ -24,7 +24,9 @@ variable - Value to filter. + Value to filter. Note that scalar values are converted to + string internally before they are filtered.