Saturday, 31 March 2012

Q: How can reverse strings in php


strrev  Reverse a string
<?php
echo strrev("Hello world!"); // outputs "!dlrow olleH"
?>

No comments:

Post a Comment