cvs: phpdoc /en/language variables.xml
| From: | Jakub Vrana | Date: | Fri, 07 Nov 2008 11:16:22 +0000 |
| Subject: | cvs: phpdoc /en/language variables.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2431@lists.php.net to get a copy of this message | ||
vrana Fri Nov 7 11:16:22 2008 UTC
Modified files:
/phpdoc/en/language variables.xml
Log:
Static variables are initialized in first call of function (bug #44384)
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/variables.xml?r1=1.106&r2=1.107&diff_format=u
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.106 phpdoc/en/language/variables.xml:1.107
--- phpdoc/en/language/variables.xml:1.106 Fri Nov 7 11:14:48 2008
+++ phpdoc/en/language/variables.xml Fri Nov 7 11:16:22 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.106 $ -->
+<!-- $Revision: 1.107 $ -->
<chapter xml:id="language.variables" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Variables</title>
@@ -469,7 +469,8 @@
</example>
</para>
<simpara>
- Now, every time the test() function is called it will print the
+ Now, <varname>$a</varname> is initialized only in first call of function
+ and every time the test() function is called it will print the
value of <varname>$a</varname> and increment it.
</simpara>