hholzgra Fri Oct 4 05:44:36 2002 EDT
Modified files:
/phpdoc/en/reference/session/functions session-register.xml
Log:
"global" is not a function
Index: phpdoc/en/reference/session/functions/session-register.xml
diff -u phpdoc/en/reference/session/functions/session-register.xml:1.4
phpdoc/en/reference/session/functions/session-register.xml:1.5
--- phpdoc/en/reference/session/functions/session-register.xml:1.4 Sun Jun 16
03:11:03 2002
+++ phpdoc/en/reference/session/functions/session-register.xml Fri Oct 4 05:44:35
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/session.xml, last change in rev 1.2 -->
<refentry id="function.session-register">
<refnamediv>
@@ -25,8 +25,10 @@
<caution>
<para>
This registers a <emphasis>global</emphasis> variable. If you want to
- register a session variable inside a function, you need to make sure to
- make it global using <function>global</function> or use the session
+ register a session variable from within a function, you need to make sure to
+ make it global using the
+ <link linkend="language.variables.scope"><command>global</command></link>
+ keyword or the <varname>$GLOBALS[]</varname> array, or use the special session
arrays as noted below.
</para>
</caution>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php