Doc #64050 [Opn->Csd]: Register globals removed in 5.4.0

From: Date: Wed, 23 Jan 2013 14:53:56 +0000
Subject: Doc #64050 [Opn->Csd]: Register globals removed in 5.4.0
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9459@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64050&edit=1 ID: 64050 Updated by: googleguy@php.net Reported by: brandonskypimenta at gmail dot com Summary: Register globals removed in 5.4.0 -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: googleguy Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2013-01-23 14:53:08] 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-22 21:03:20] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64050&edit=1

« previous php.doc.bugs (#9459) next »