mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
3c04463a3d
commit
852585ac9e
1 changed files with 9 additions and 1 deletions
|
@ -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">
|
||||
<php
|
||||
echo strrev("Hello world!"); // outputs "!dlrow olleH"
|
||||
?>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue