downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

strripos> <strrchr
[edit] Last updated: Fri, 17 May 2013

view this page in

strrev

(PHP 4, PHP 5)

strrevReverse a string

Descrierea

string strrev ( string $string )

Returns string, reversed.

Parametri

string

The string to be reversed.

Valorile întoarse

Returns the reversed string.

Exemple

Example #1 Reversing a string with strrev()

<?php
echo strrev("Hello world!"); // outputs "!dlrow olleH"
?>



strripos> <strrchr
[edit] Last updated: Fri, 17 May 2013
 
add a note add a note User Contributed Notes strrev - [3 notes]