From 24822067dd2549844e6f8f6f8fe85f4e6058731d Mon Sep 17 00:00:00 2001 From: Sebastian Nohn Date: Sun, 24 Feb 2002 17:03:54 +0000 Subject: [PATCH] fixing bug #15696 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@70872 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration4.xml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/appendices/migration4.xml b/appendices/migration4.xml index e88db6237f..d38c79c5cd 100644 --- a/appendices/migration4.xml +++ b/appendices/migration4.xml @@ -1,5 +1,5 @@ - + Migrating from PHP 3 to PHP 4 @@ -423,6 +423,33 @@ php_admin_flag [PHP directive name] [On|Off] +
+ Handling of global variables + + While handling of global variables had the focus on to be easy in + PHP3 and early versions of PHP4, the focus has changed to be more + secure. While in PHP3 following example worked fine, in PHP4 it + has to be unset($GLOBALS["id"]);. This is only one issue of global + variable handling. You should always have used $GLOBALS, with + newer versions of PHP4 you are forced to do so in most cases. + + + + + + +
+