php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70401 [DE] INPUT_REQUEST
Submitted: 2015-09-01 11:34 UTC Modified: 2015-09-01 12:58 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: czarnoski at seitenreport dot info Assigned: cmb (profile)
Status: Closed Package: Translation problem
PHP Version: 7.0.0RC1 OS: Ubuntu 15.04
Private report: No CVE-ID: None
 [2015-09-01 11:34 UTC] czarnoski at seitenreport dot info
Description:
------------
Warning: filter_input_array(): INPUT_REQUEST is not yet implemented in /var/www/html/ps983/index.php on line 114

line 114
$REQUEST_=filter_input_array(INPUT_REQUEST,FILTER_SANITIZE_ENCODED); 

PHP Doku since 5.2 

Parameter-Liste ΒΆ

type
Einer von INPUT_GET, INPUT_POST, INPUT_COOKIE, INPUT_SERVER, INPUT_ENV, INPUT_SESSION oder INPUT_REQUEST.


Test script:
---------------
$REQUEST_=filter_input_array(INPUT_REQUEST,FILTER_SANITIZE_ENCODED); 

Expected result:
----------------
No warning and full function

Actual result:
--------------
nothing

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-01 12:12 UTC] jhdxr@php.net
According to the manual(<http://php.net/filter_input_array>), type should be one of INPUT_GET, INPUT_POST, INPUT_COOKIE, INPUT_SERVER, or INPUT_ENV.
 [2015-09-01 12:34 UTC] cmb@php.net
-Summary: INPUT_REQUEST +Summary: [DE] INPUT_REQUEST -Status: Open +Status: Verified -Type: Bug +Type: Documentation Problem -Package: *General Issues +Package: Translation problem -Assigned To: +Assigned To: cmb
 [2015-09-01 12:34 UTC] cmb@php.net
Actually, this is a translation issue. The German man page is wrong.
 [2015-09-01 12:58 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=337691
Log: synced with EN (fixes #70401)
 [2015-09-01 12:58 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2015-09-01 12:58 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC