Doc #68245 [Opn]: filter_input does not document FILTER_DEFAULT

From: Date: Thu, 16 Oct 2014 16:10:58 +0000
Subject: Doc #68245 [Opn]: filter_input does not document FILTER_DEFAULT
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11558@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: datibbaw@php.net Reported by: ch at lathspell dot de Summary: filter_input does not document FILTER_DEFAULT Status: Open Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#11558) next »