[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-bugs
Subject:    [DOC-BUGS] Doc #71405 [Asn->Csd]: Some constants are not documented
From:       cmb () php ! net
Date:       2016-01-19 19:28:15
Message-ID: 201601191928.u0JJSF6W008798 () sgrv20 ! php ! net
[Download RAW message or body]

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:             Assigned
+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:

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.




Previous Comments:
------------------------------------------------------------------------
[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&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

-- 
PHP Documentation Bugs Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic