yannick Sun Jan 23 15:24:36 2005 EDT
Modified files:
/phpdoc/en/reference/mcrypt/functions
mcrypt-enc-get-algorithms-name.xml
/phpdoc/en/reference/mysql/functions mysql-fetch-lengths.xml
/phpdoc/en/reference/regex/functions sql-regcase.xml
/phpdoc/en/reference/stream/functions stream-filter-register.xml
Log:
add missing cdata section, use more entities
http://cvs.php.net/diff.php/phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml
diff -u
phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.4
phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.5
--- phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.4
Mon Dec 15 11:52:01 2003
+++ phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml
Sun Jan 23 15:24:35 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 -->
<refentry id="function.mcrypt-enc-get-algorithms-name">
<refnamediv>
@@ -21,18 +21,21 @@
<programlisting role="php">
<![CDATA[
<?php
- $td = mcrypt_module_open(MCRYPT_CAST_256, '', MCRYPT_MODE_CFB, '');
- echo mcrypt_enc_get_algorithms_name($td). "\n";
+$td = mcrypt_module_open(MCRYPT_CAST_256, '', MCRYPT_MODE_CFB, '');
+echo mcrypt_enc_get_algorithms_name($td). "\n";
- $td = mcrypt_module_open('cast-256', '', MCRYPT_MODE_CFB, '');
- echo mcrypt_enc_get_algorithms_name($td). "\n";
+$td = mcrypt_module_open('cast-256', '', MCRYPT_MODE_CFB, '');
+echo mcrypt_enc_get_algorithms_name($td). "\n";
?>
-
-Prints:
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
CAST-256
CAST-256
]]>
- </programlisting>
+ </screen>
</example>
</para>
</refsect1>
http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml:1.5
phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml:1.6
--- phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml:1.5 Sat Aug
7 21:20:20 2004
+++ phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml Sun Jan 23
15:24:35 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-fetch-lengths">
<refnamediv>
@@ -44,8 +44,12 @@
print_r($row);
print_r($lengths);
-
-/* Output will look similar to:
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
Array
(
[id] => 42
@@ -56,11 +60,8 @@
[0] => 2
[1] => 16
)
-
-*/
-?>
]]>
- </programlisting>
+ </screen>
</example>
</para>
<para>
http://cvs.php.net/diff.php/phpdoc/en/reference/regex/functions/sql-regcase.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/regex/functions/sql-regcase.xml
diff -u phpdoc/en/reference/regex/functions/sql-regcase.xml:1.5
phpdoc/en/reference/regex/functions/sql-regcase.xml:1.6
--- phpdoc/en/reference/regex/functions/sql-regcase.xml:1.5 Mon Dec 15
11:53:23 2003
+++ phpdoc/en/reference/regex/functions/sql-regcase.xml Sun Jan 23 15:24:35 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/regex.xml, last change in rev 1.2 -->
<refentry id="function.sql-regcase">
<refnamediv>
@@ -31,10 +31,12 @@
?>
]]>
</programlisting>
- <para>
- prints:
- </para>
- <screen>[Ff][Oo][Oo] - [Bb][Aa][Rr].</screen>
+ &example.outputs;
+ <screen>
+<![CDATA[
+[Ff][Oo][Oo] - [Bb][Aa][Rr].
+]]>
+ </screen>
</example>
</para>
<para>
http://cvs.php.net/diff.php/phpdoc/en/reference/stream/functions/stream-filter-register.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/stream/functions/stream-filter-register.xml
diff -u phpdoc/en/reference/stream/functions/stream-filter-register.xml:1.10
phpdoc/en/reference/stream/functions/stream-filter-register.xml:1.11
--- phpdoc/en/reference/stream/functions/stream-filter-register.xml:1.10
Wed Nov 10 03:30:44 2004
+++ phpdoc/en/reference/stream/functions/stream-filter-register.xml Sun Jan
23 15:24:36 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="function.stream-filter-register">
<refnamediv>
<refname>stream_filter_register</refname>
@@ -193,9 +193,7 @@
?>
]]>
</programlisting>
- <para>
- Output
- </para>
+ &example.outputs;
<screen>
<![CDATA[
LINE1
@@ -266,19 +264,17 @@
/* Read the contents back out
*/
readfile("foo-bar.txt");
-
-/* Output
- * ------
-
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
LINE1
WORD - 2
EASY AS 123
-
- */
-
-?>
]]>
- </programlisting>
+ </screen>
</example>
</para>