|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-21 20:34 UTC] rasmus@php.net
[2011-01-21 21:23 UTC] it at x-trader dot cz
[2011-02-05 14:33 UTC] kalle@php.net
-Status: Open
+Status: To be documented
[2011-02-05 14:33 UTC] kalle@php.net
[2011-02-10 16:47 UTC] vrana@php.net
-Status: To be documented
+Status: Closed
-Assigned To:
+Assigned To: vrana
[2011-02-10 16:47 UTC] vrana@php.net
[2011-02-10 16:47 UTC] vrana@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 14:00:01 2025 UTC |
Description: ------------ Function filter_input_array does NOT return from SERVER input variable REQUEST_TIME key => value pair. Tested on Linux, PHP versions 5.2.8 and 5.3.2. May be it's undocumented feature or filter implementation failure, because filter functions are using only the original variable values passed to PHP. Test script: --------------- <?php var_dump(array_diff($_SERVER, filter_input_array(INPUT_SERVER, FILTER_UNSAFE_RAW))); Expected result: ---------------- array(0) { } Actual result: -------------- array(1) { 'REQUEST_TIME' => int(1295636581) }