Doc #71405 [Csd]: Some constants are not documented

From: Date: Tue, 19 Jan 2016 19:29:21 +0000
Subject: Doc #71405 [Csd]: Some constants are not documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13128@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71405&edit=1 ID: 71405 Updated by: cmb@php.net Reported by: jcastromail at yahoo dot es Summary: Some constants are not documented Status: Closed Type: Documentation Problem Package: Filter related Operating System: windows 8.1 PHP Version: 7.0.2 Assigned To: cmb Block user comment: N Private report: N New Comment: Wrong quick-fix text. Should have been: 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: ------------------------------------------------------------------------ [2016-01-19 19:28:14] cmb@php.net The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2016-01-19 19:27:52] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=338526 Log: fixed #71405: Some constants are not documented ------------------------------------------------------------------------ [2016-01-18 13:32:54] jcastromail at yahoo dot es Description: ------------ --- From manual page: http://www.php.net/filter.filters.flags --- For example the flag FILTER_REQUIRE_ARRAY is not even mentioned and may be other flags aren't in the list (such FILTER_FORCE_ARRAY) Those values aren't in the mentioned page nor in http://php.net/manual/en/filter.filters.php But its mentioned in the next page as an example http://php.net/manual/en/function.filter-input-array.php Test script: --------------- <form method='post'> <input type='text' name='fields[0]' value='v1' /> <input type='text' name='fields[1]' value='v2' /> <br> <input type='submit' name='button' value='sendme' /> </form> <?php filter_input(INPUT_POST,'fields', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY) // it works as expected ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71405&edit=1

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