php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48799 Spaces to underscore in $_REQUEST variables is not documented
Submitted: 2009-07-04 16:24 UTC Modified: 2009-11-16 12:58 UTC
From: sjoerd-php at linuxonly dot nl Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sjoerd-php at linuxonly dot nl
New email:
PHP Version: OS:

 

 [2009-07-04 16:24 UTC] sjoerd-php at linuxonly dot nl
Description:
------------
In GET and POST variables, spaces and dots are replaced by underscores.

This is not sufficiently documented. Some documentation is here:
http://fr.php.net/manual/en/language.variables.external.php#language.variables.external.form.submit

Reproduce code:
---------------
/foo.php?a%20a=3



Actual result:
--------------
$_GET = Array ( [a_a] => 3 ) 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-16 12:58 UTC] vrana@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.


 [2009-11-16 12:58 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290816
Log: Dots and spaces become underscores (bug #48799)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jan 12 05:00:01 2026 UTC