php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #42342 Example 660. (filter_input_array()): Use of non-existent flags
Submitted: 2007-08-19 20:37 UTC Modified: 2007-08-20 14:46 UTC
Votes:3
Avg. Score:3.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:0 (0.0%)
From: fumble1 at web dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2007-08-19 20:37 UTC] fumble1 at web dot de
Description:
------------
The example on http://www.php.net/filter uses the non-existent flags FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY; I think those should be FILTER_REQUIRE_SCALAR and FILTER_REQUIRE_ARRAY.

Reproduce code:
---------------
http://www.php.net/filter


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-20 14:46 UTC] vrana@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-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 12:00:02 2025 UTC