add strrev() example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61357 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-11-01 22:58:31 +00:00
parent 3c04463a3d
commit 852585ac9e

View file

@ -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 @@ echo str_repeat("-=", 10);
</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>