php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31434 Inaccurate $_GET array description
Submitted: 2005-01-06 21:48 UTC Modified: 2005-01-07 09:22 UTC
From: phpfanat at yandex dot ru Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
 [2005-01-06 21:48 UTC] phpfanat at yandex dot ru
Description:
------------
The manual entry about Predefined variables at
http://ru.php.net/manual/en/language.variables.predefined.php
says "$_GET - Variables provided to the script via HTTP GET."
This is wrong. $_GET filled with data even when POST method used and actually it come from HTTP URI's QUERY STRING.
This messed up too many people. 
I did a poll, and more than 50% answered that you can send POST and GET requests simultaneously, proving it with this manual entry.
I'd suggest to change it to "Variables provided to the script via QUERY STRING" or sometning more correct.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-07 09:22 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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Aug 02 16:00:03 2025 UTC