note 129387 added to function.filter-input-array
| From: | jak74@interia.pl | Date: | Mon, 08 Apr 2024 11:43:06 +0000 |
| Subject: | note 129387 added to function.filter-input-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221280@lists.php.net to get a copy of this message | ||
I have this script
$myinputs = $_SERVER;
foreach ( $myinputs as $k => $v ) {
echo $k . ' => ' . $v . '<br>';
}
echo '<br><hr>';
$myinputs02 = filter_input_array(INPUT_SERVER);
foreach ( $myinputs02 as $k => $v ) {
echo $k . ' => ' . $v . '<br>';
}
and
$myinputs = $_SERVER;
show this key and value
REQUEST_TIME_FLOAT => 1712575734.9134
REQUEST_TIME => 1712575734
but this filter_input_array(INPUT_SERVER); don't show REQUEST_TIME_FLOAT ,REQUEST_TIME
I wonder why is that?
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.131 (proxied: 37.47.206.173)
----
Manual Page -- https://php.net/manual/en/function.filter-input-array.php
Edit -- https://main.php.net/note/edit/129387
Del: integrated -- https://main.php.net/note/delete/129387/integrated
Del: useless -- https://main.php.net/note/delete/129387/useless
Del: bad code -- https://main.php.net/note/delete/129387/bad+code
Del: spam -- https://main.php.net/note/delete/129387/spam
Del: non-english -- https://main.php.net/note/delete/129387/non-english
Del: in docs -- https://main.php.net/note/delete/129387/in+docs
Del: other reasons-- https://main.php.net/note/delete/129387
Reject -- https://main.php.net/note/reject/129387
Search -- https://main.php.net/manage/user-notes.php