diff --git a/appendices/migration4.xml b/appendices/migration4.xml index d38c79c5cd..ccfa6f654d 100644 --- a/appendices/migration4.xml +++ b/appendices/migration4.xml @@ -1,5 +1,5 @@ - + Migrating from PHP 3 to PHP 4 @@ -427,24 +427,27 @@ 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 + PHP 3 and early versions of PHP 4, the focus has changed to be more + secure. While in PHP 3 the following example worked fine, in PHP 4 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. + newer versions of PHP 4 you are forced to do so in most cases. + Read more on this subject in the + global references section. + Migration of global variables