php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57104 make input_get support FILTER_FLAG_ARRAY
Submitted: 2006-06-22 07:14 UTC Modified: 2006-08-31 20:24 UTC
From: pecl at benjamin dot schulz dot name Assigned: pajoye (profile)
Status: Closed Package: filter (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pecl at benjamin dot schulz dot name
New email:
PHP Version: OS:

 

 [2006-06-22 07:14 UTC] pecl at benjamin dot schulz dot name
Description:
------------
i need to access variables from array somehow, a possible (and hopefully self-explaining) solution would be:
input_get(INPUT_GET, 'foo[bar]', FILTER_SANITIZE_STRING, FILTER_FLAG_ARRAY)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-22 07:18 UTC] pierre dot php at gmail dot com
Related to the allow_array option, patch already done.
 [2006-08-31 20:24 UTC] pierre dot php at gmail dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Fixed in cvs. But it does not support this exact syntax. You can choose whether or not you accept array. Use array_key_exists or isset to check a specific key.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:26 2019 UTC