aidan Wed Nov 24 20:53:12 2004 EDT
Modified files:
/phpdoc/en/faq misc.xml
Log:
Fix mistake. Spotted by a user note.
http://cvs.php.net/diff.php/phpdoc/en/faq/misc.xml?r1=1.20&r2=1.21&ty=u
Index: phpdoc/en/faq/misc.xml
diff -u phpdoc/en/faq/misc.xml:1.20 phpdoc/en/faq/misc.xml:1.21
--- phpdoc/en/faq/misc.xml:1.20 Sat Sep 11 09:55:47 2004
+++ phpdoc/en/faq/misc.xml Wed Nov 24 20:53:12 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.20 $ -->
+<!-- $Revision: 1.21 $ -->
<chapter id="faq.misc">
<title>Miscellaneous Questions</title>
<titleabbrev>Miscellaneous Questions</titleabbrev>
@@ -157,7 +157,7 @@
array_unshift($superglobals, $_SESSION);
}
foreach ($superglobals as $superglobal) {
- foreach ($superglobal as $global) {
+ foreach ($superglobal as $global => $value) {
unset($GLOBALS[$global]);
}
}