jkj Mon Mar 12 06:00:51 2001 EDT
Modified files:
/phpdoc/en/functions datetime.xml zlib.xml
/phpdoc/en/pear standards.xml
Log:
- corrected XML related typos (<, &, unterminated entity references, ...)
Index: phpdoc/en/functions/datetime.xml
diff -u phpdoc/en/functions/datetime.xml:1.31 phpdoc/en/functions/datetime.xml:1.32
--- phpdoc/en/functions/datetime.xml:1.31 Sat Mar 10 15:32:57 2001
+++ phpdoc/en/functions/datetime.xml Mon Mar 12 06:00:50 2001
@@ -641,7 +641,7 @@
$time_start = getmicrotime();
-for ($i=0; $i < 1000; $i++){
+for ($i=0; $i < 1000; $i++){
//do nothing, 1000 times
}
Index: phpdoc/en/functions/zlib.xml
diff -u phpdoc/en/functions/zlib.xml:1.12 phpdoc/en/functions/zlib.xml:1.13
--- phpdoc/en/functions/zlib.xml:1.12 Wed Mar 7 02:40:44 2001
+++ phpdoc/en/functions/zlib.xml Mon Mar 12 06:00:50 2001
@@ -797,7 +797,7 @@
</para>
<para>
For more information on the GZIP file format, see the document:
- <ulink url="&url.rfc1952">GZIP file format specification
+ <ulink url="&url.rfc1952;">GZIP file format specification
version 4.3</ulink> (RFC 1952).
</para>
<para>
Index: phpdoc/en/pear/standards.xml
diff -u phpdoc/en/pear/standards.xml:1.2 phpdoc/en/pear/standards.xml:1.3
--- phpdoc/en/pear/standards.xml:1.2 Sat Mar 10 21:57:42 2001
+++ phpdoc/en/pear/standards.xml Mon Mar 12 06:00:51 2001
@@ -32,7 +32,7 @@
<programlisting role="php">
if ((condition1) || (condition2)) {
action1;
-} elseif ((condition3) && (condition4)) {
+} elseif ((condition3) && (condition4)) {
action2;
} else {
defaultaction;
@@ -113,10 +113,10 @@
Always attempt to return a meaningful value from a function if one
is appropriate. Here is a slightly longer example:
<programlisting role="php">
-function connect(&$dsn, $persistent = false)
+function connect(&$dsn, $persistent = false)
{
if (is_array($dsn)) {
- $dsninfo = &$dsn;
+ $dsninfo = &$dsn;
} else {
$dsninfo = DB::parseDSN($dsn);
}