php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68245 filter_input does not document FILTER_DEFAULT
Submitted: 2014-10-16 16:00 UTC Modified: 2014-10-23 19:42 UTC
From: ch at lathspell dot de Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ch at lathspell dot de
New email:
PHP Version: OS:

 

 [2014-10-16 16:00 UTC] 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. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-16 16:10 UTC] 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-23 19:41 UTC] 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-23 19:42 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 [2014-10-23 19:42 UTC] aharvey@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 06:00:01 2026 UTC