strrev
(PHP 4, PHP 5)
strrev — Inverse une chaîne
Description
string
strrev
( string $string )
strrev
retourne la chaîne string
, après avoir changé l'ordre des caractères.
Exemple 2637. Inverser une chaîne avec strrev()
<?php
echo
strrev
(
"Bonjour le monde!"
);
// affiche "ednom el ruojnoB"
?>