cvs: phpdoc /en/language variables.xml
| From: | Jakub Vrana | Date: | Fri, 07 Nov 2008 11:14:49 +0000 |
| Subject: | cvs: phpdoc /en/language variables.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2430@lists.php.net to get a copy of this message | ||
vrana Fri Nov 7 11:14:49 2008 UTC
Modified files:
/phpdoc/en/language variables.xml
Log:
Lowercase function names
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/variables.xml?r1=1.105&r2=1.106&diff_format=u
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.105 phpdoc/en/language/variables.xml:1.106
--- phpdoc/en/language/variables.xml:1.105 Tue Nov 4 16:27:03 2008
+++ phpdoc/en/language/variables.xml Fri Nov 7 11:14:48 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.105 $ -->
+<!-- $Revision: 1.106 $ -->
<chapter xml:id="language.variables" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Variables</title>
@@ -292,12 +292,12 @@
<?php
$a = 1; /* global scope */
-function Test()
+function test()
{
echo $a; /* reference to local scope variable */
}
-Test();
+test();
?>
]]>
</programlisting>
@@ -431,7 +431,7 @@
<programlisting role="php">
<![CDATA[
<?php
-function Test()
+function test()
{
$a = 0;
echo $a;
@@ -457,7 +457,7 @@
<programlisting role="php">
<![CDATA[
<?php
-function Test()
+function test()
{
static $a = 0;
echo $a;
@@ -469,7 +469,7 @@
</example>
</para>
<simpara>
- Now, every time the Test() function is called it will print the
+ Now, every time the test() function is called it will print the
value of <varname>$a</varname> and increment it.
</simpara>
@@ -488,14 +488,14 @@
<programlisting role="php">
<![CDATA[
<?php
-function Test()
+function test()
{
static $count = 0;
$count++;
echo $count;
if ($count < 10) {
- Test();
+ test();
}
$count--;
}