sean Sun Aug 8 13:27:00 2004 EDT
Modified files:
/phpdoc/en/language references.xml
Log:
cleanup (grammar)
http://cvs.php.net/diff.php/phpdoc/en/language/references.xml?r1=1.36&r2=1.37&ty=u
Index: phpdoc/en/language/references.xml
diff -u phpdoc/en/language/references.xml:1.36 phpdoc/en/language/references.xml:1.37
--- phpdoc/en/language/references.xml:1.36 Sat Aug 7 06:06:24 2004
+++ phpdoc/en/language/references.xml Sun Aug 8 13:26:59 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.36 $ -->
+<!-- $Revision: 1.37 $ -->
<chapter id="language.references">
<title>References Explained</title>
@@ -83,9 +83,9 @@
</note>
<warning>
<para>
- If you assign reference to a variable stated as <literal>global</literal>
- inside function, the reference will be visible only inside the function.
- You can avoid it by using <varname>$GLOBALS</varname> array.
+ If you assign a reference to a variable declared <literal>global</literal>
+ inside a function, the reference will be visible only inside the function.
+ You can avoid this by using the <varname>$GLOBALS</varname> array.
<example>
<title>Referencing global variables inside function</title>
<programlisting role="php">
@@ -119,9 +119,9 @@
</warning>
<note>
<para>
- If you assign a value to variable with references in the <link
+ If you assign a value to a variable with references in a <link
linkend="control-structures.foreach">foreach</link> statement,
- references are modified too.
+ the references are modified too.
<example>
<title>References and foreach statement</title>
<programlisting role="php">