note 74869 added to function.filter-input-array
| From: | DarrenCraine at osu1 dot php dot net | Date: | Tue, 01 May 2007 17:04:11 +0000 |
| Subject: | note 74869 added to function.filter-input-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126096@lists.php.net to get a copy of this message | ||
Your example code does not work. According to this page
http://us.php.net/manual/en/ref.filter.php#filter.intro
FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY dont exist. If you replace them with FILTER_REQUIRE_SCALAR
and FILTER_REQUIRE_ARRAY (or FILTER_FORCE_ARRAY if you want to just force it) then your example will
execute.
.daRRen.
----
Server IP: 69.39.81.135
Probable Submitter: 206.251.248.21
----
Manual Page -- http://www.php.net/manual/en/function.filter-input-array.php
Edit -- https://master.php.net/note/edit/74869
Del: integrated -- https://master.php.net/note/delete/74869/integrated
Del: useless -- https://master.php.net/note/delete/74869/useless
Del: bad code -- https://master.php.net/note/delete/74869/bad+code
Del: spam -- https://master.php.net/note/delete/74869/spam
Del: non-english -- https://master.php.net/note/delete/74869/non-english
Del: in docs -- https://master.php.net/note/delete/74869/in+docs
Del: other reasons-- https://master.php.net/note/delete/74869
Reject -- https://master.php.net/note/reject/74869
Search -- https://master.php.net/manage/user-notes.php