Parameters. string. The string to be reversed. ... Example #1 Reversing a string with strrev().
php.net