dams Fri May 30 09:41:13 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions str-word-count.xml
Log:
upgrading example
Index: phpdoc/en/reference/strings/functions/str-word-count.xml
diff -u phpdoc/en/reference/strings/functions/str-word-count.xml:1.2
phpdoc/en/reference/strings/functions/str-word-count.xml:1.3
--- phpdoc/en/reference/strings/functions/str-word-count.xml:1.2 Wed May 21
19:09:07 2003
+++ phpdoc/en/reference/strings/functions/str-word-count.xml Fri May 30 09:41:12
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.str-word-count">
<refnamediv>
<refname>str_word_count</refname>
@@ -45,7 +45,7 @@
</para>
<para>
<example>
- <title>Example uses for <function>str_word_count</function></title>
+ <title><function>str_word_count</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -60,9 +60,14 @@
print_r($a);
print_r($b);
print $c;
-
-/* Output may look like:
-
+?>
+]]>
+ </programlisting>
+ <para>
+ Output may look like:
+ </para>
+ <screen>
+<![CDATA[
Array
(
[0] => Hello
@@ -84,11 +89,8 @@
)
6
-
-*/
-?>
]]>
- </programlisting>
+ </screen>
</example>
</para>
<para>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php