Doc #68245 [Opn->Csd]: filter_input does not document FILTER_DEFAULT
| From: | aharvey@php.net | Date: | Thu, 23 Oct 2014 19:42:12 +0000 |
| Subject: | Doc #68245 [Opn->Csd]: filter_input does not document FILTER_DEFAULT | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11578@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68245&edit=1
ID: 68245
Updated by: aharvey@php.net
Reported by: ch at lathspell dot de
Summary: filter_input does not document FILTER_DEFAULT
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2014-10-23 19:41:55] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=335127
Log: Better document FILTER_DEFAULT.
Fixes doc bug #68245 (filter_input does not document FILTER_DEFAULT).
------------------------------------------------------------------------
[2014-10-16 16:10:58] datibbaw@php.net
According to the source, it's defined to be equal to FILTER_UNSAFE_RAW:
http://lxr.php.net/xref/PHP_TRUNK/ext/filter/filter_private.h#71
To avoid confusion, perhaps the documentation should use the actual filter name that will be applied
by default.
------------------------------------------------------------------------
[2014-10-16 16:00:20] ch at lathspell dot de
Description:
------------
---
From manual page: http://www.php.net/function.filter-input
---
There is no documentation what the default filter FILTER_DEFAULT does, nor is it mentioned on the
referenced list of available filters.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68245&edit=1