Forum und email

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.

Example#1 Inverser une chaîne avec strrev()

<?php
echo strrev("Bonjour le monde!"); 
// affiche "ednom el ruojnoB"
?>