|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-11-20 11:40 UTC] christian at freemails dot at
Description:
------------
www.php.net/global
does not work. But a global-function exists in PHP.
example of the global function:
function foobar() {global $foo; /* this makes $foo aviable here */}
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 11:00:01 2025 UTC |
Goba, would this solve it? Index: en/language/variables.xml =================================================================== RCS file: /repository/phpdoc/en/language/variables.xml,v retrieving revision 1.79 diff -u -r1.79 variables.xml --- en/language/variables.xml 23 Jul 2004 00:18:21 -0000 1.79 +++ en/language/variables.xml 5 Aug 2004 08:09:57 -0000 @@ -374,7 +374,7 @@ </simpara> <sect2 id="language.variables.scope.global"> - <title>The global keyword</title> + <title id="language.keyword.global">The global keyword</title> <simpara> First, an example use of <literal>global</literal>: </simpara> @@ -473,7 +473,7 @@ </sect2> <sect2 id="language.variables.scope.static"> - <title>Using static variables</title> + <title id="language.keyword.static">Using static variables</title> <simpara> Another important feature of variable scoping is the <emphasis>static</emphasis> variable. A static variable exists I wouldn't feel write changing the sect2 ids but maybe we have to?