note 118607 added to function.filter-input-array
| From: | jurchiks101 at gmail dot com | Date: | Thu, 07 Jan 2016 16:52:41 +0000 |
| Subject: | note 118607 added to function.filter-input-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204610@lists.php.net to get a copy of this message | ||
The documentation is wrong; $definition is a required parameter:
https://github.com/php/php-src/blob/master/ext/filter/filter.c#L98
The last parameter to ZEND_BEGIN_ARG_INFO_EX is called "required_num_args".
As you can see, it is set to 2 there, so the first two parameters are required.
----
Server IP: 72.52.91.14
Probable Submitter: 91.90.249.76
----
Manual Page -- http://php.net/manual/en/function.filter-input-array.php
Edit -- https://master.php.net/note/edit/118607
Del: integrated -- https://master.php.net/note/delete/118607/integrated
Del: useless -- https://master.php.net/note/delete/118607/useless
Del: bad code -- https://master.php.net/note/delete/118607/bad+code
Del: spam -- https://master.php.net/note/delete/118607/spam
Del: non-english -- https://master.php.net/note/delete/118607/non-english
Del: in docs -- https://master.php.net/note/delete/118607/in+docs
Del: other reasons-- https://master.php.net/note/delete/118607
Reject -- https://master.php.net/note/reject/118607
Search -- https://master.php.net/manage/user-notes.php