strrev

Reverse a string (PHP 3, PHP 4 )
string strrev ( string string )

Returns string, reversed.

Example 961. Reversing a string with strrev()

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

This HTML Help has been published using the chm2web software.