Inverta a string "Hello World!":
<?phpecho strrev("Olá mundo!");?>A função strrev() inverte uma string.
strrev( string )
| parâmetro | descrever |
|---|---|
| corda | Obrigatório. Especifica a sequência a ser revertida. |
| Valor de retorno: | Retorna a string invertida. |
|---|---|
| Versão PHP: | 4+ |