Funções PHP |
. Glossários Funções PHP - strrev ( ) |
(PHP 3, PHP 4 , PHP 5)
strrev -- Reverte uma string
string strrev ( string string)
Retorna a string revertida.
Exemplo:
Exemplo 1. Revertendo uma string strrev()
<?php
echo strrev("Hello world!"); //
mostra "!dlrow olleH"
?>