php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64050 Register globals removed in 5.4.0
Submitted: 2013-01-22 21:03 UTC Modified: 2013-01-23 14:53 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: brandonskypimenta at gmail dot com Assigned: googleguy (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brandonskypimenta at gmail dot com
New email:
PHP Version: OS:

 

 [2013-01-22 21:03 UTC] brandonskypimenta at gmail dot com
Description:
------------
At http://php.net/manual/en/faq.using.php#faq.register-globals it says that 
register globals

Test script:
---------------
<Irrelevant>

Expected result:
----------------
The code above demonstrates how register_globals creates a lot of variables. For 
years this type of coding has been frowned upon, and for years it's been disabled 
by default. Note that this deprecated feature was removed in 5.4.0. So although 
most web hosts disable register_globals, there are still outdated articles, 
tutorials, and books that require it to be on. Plan accordingly.

Actual result:
--------------
The code above demonstrates how register_globals creates a lot of variables. For 
years this type of coding has been frowned upon, and for years it's been disabled 
by default. Note that PHP will eventually remove this deprecated feature. So 
although most web hosts disable register_globals, there are still outdated 
articles, tutorials, and books that require it to be on. Plan accordingly.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-23 14:53 UTC] googleguy@php.net
Automatic comment from SVN on behalf of googleguy
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=329279
Log: Added &amp;warn.deprecated.feature-5-3-0.removed-5-4-0 for register-globals in FAQ.
Fixes bug #64050.
 [2013-01-23 14:53 UTC] googleguy@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.


 [2013-01-23 14:53 UTC] googleguy@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: googleguy
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 23:00:01 2026 UTC