strrev
(PHP 4, PHP 5)
strrev — Reverte uma string
Descrição
string strrev
( string
$string
)
Retorna a string revertida.
Parâmetros
-
string -
A string a ser revertida.
Valor Retornado
Retorna a string revertida.
Exemplos
Example #1 Revertendo uma string strrev()
<?php
echo strrev("Hello world!"); // mostra "!dlrow olleH"
?>