(PHP 4, PHP 5, PHP 7, PHP 8)
strrev — Reverte uma string
$string
Retorna a string revertida.
string
A string a ser revertida.
Exemplo #1 Revertendo uma string strrev()
<?phpecho strrev("Hello world!"); // mostra "!dlrow olleH"?>