upgrading example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129357 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2003-05-30 13:41:12 +00:00
parent e1742bc2ab
commit dadc03a7a4

View file

@ -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 @@ $c = str_word_count($str);
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 @@ Array
)
6
*/
?>
]]>
</programlisting>
</screen>
</example>
</para>
<para>