. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
|
strrev
strrev (PHP 3, PHP 4, PHP 5) strrev -- Inverse une chaîne Descriptionstring strrev ( string string )
strrev retourne la chaîne
string, après avoir changé l'ordre des caractères.
Exemple 1. Inverser une chaîne avec strrev()
<?php echo strrev("Bonjour le monde!"); // affiche "ednom el ruojnoB" ?>
|
|
Retour au chapitre Php
|
|