betz Sun Jan 4 20:57:24 2004 EDT
Modified files:
/phpdoc/en/language variables.xml
Log:
some example formatting, PHP4 correction
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.71 phpdoc/en/language/variables.xml:1.72
--- phpdoc/en/language/variables.xml:1.71 Sun Jan 4 20:16:31 2004
+++ phpdoc/en/language/variables.xml Sun Jan 4 20:57:24 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.71 $ -->
+<!-- $Revision: 1.72 $ -->
<chapter id="language.variables">
<title>Variables</title>
@@ -453,7 +453,7 @@
print $HTTP_POST_VARS['name'];
// Superglobals are available in any scope and do
- // not require 'global'. Superglobals are available
+ // not require 'global'. Superglobals are available
// as of PHP 4.1.0
print $_POST['name'];
}
@@ -584,7 +584,7 @@
<sect2 id="language.variables.scope.references">
<title>References with global and static variables</title>
<simpara>
- The Zend Engine 1, driving <literal>PHP4</literal>, implements the
+ The Zend Engine 1, driving <literal>PHP 4</literal>, implements the
<link linkend="language.variables.scope.static">static</link> and
<link linkend="language.variables.scope.global">global</link> modifier
for variables in terms of <link linkend="language.references">
@@ -836,12 +836,12 @@
import_request_variables('p', 'p_');
print $p_username;
-// Available since PHP 3. As of PHP 5.0.0, these long predefined
+// Available since PHP 3. As of PHP 5.0.0, these long predefined
// variables can be disabled with the register_long_arrays directive.
print $HTTP_POST_VARS['username'];
-// Available if the PHP directive register_globals = on. As of
+// Available if the PHP directive register_globals = on. As of
// PHP 4.2.0 the default value of register_globals = off.
// Using/relying on this method is not preferred.