"global" is not a function

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@98121 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hartmut Holzgraefe 2002-10-04 09:44:35 +00:00
parent 762529d178
commit 24bc34f33c

View file

@ -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>