jimw            Thu Nov  1 17:58:31 2001 EDT

  Modified files:              
    /phpdoc/en/functions        strings.xml 
  Log:
  add strrev() example
  
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.119 phpdoc/en/functions/strings.xml:1.120
--- phpdoc/en/functions/strings.xml:1.119       Tue Oct 30 19:45:52 2001
+++ phpdoc/en/functions/strings.xml     Thu Nov  1 17:58:31 2001
@@ -1,5 +1,5 @@
 <?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.119 $ -->
+<!-- $Revision: 1.120 $ -->
  <reference id="ref.strings">
   <title>String functions</title>
   <titleabbrev>Strings</titleabbrev>
@@ -3039,6 +3039,14 @@
     </funcsynopsis>
     <para>
      Returns <parameter>string</parameter>, reversed.
+     <example>
+      <title>Reversing a string with <function>strrev</function></title>
+      <programlisting role="php">
+&lt;php
+echo strrev("Hello world!"); // outputs "!dlrow olleH"
+?&gt;
+      </programlisting>
+     </example>
     </para>
    </refsect1>
   </refentry>


Reply via email to