() La fonction PHP
Exemples
Inverser la chaîne "Bonjour tout le monde!":
<?php
echo strrev("Hello World!");
?>
echo strrev("Hello World!");
?>
Exécution instance »
Définition et utilisation
strrev () fonction inversée chaîne.
grammaire
strrev( string )
参数 | 描述 |
---|---|
string | 必需。规定要反转的字符串。 |
détails techniques
Retours: | Retours inversés chaîne. |
---|---|
PHP version: | 4+ |
PHP Chaîne de référence