webdev.ramyash@gmail.com

Web Development: Reverse word in a string using PHP.


Reverse word in a string using PHP

Reverse word in a string using PHP.

The strrev() function reverses a string.



Example:

<?php

echo strrev("Welcome"); // outputs "emocleW"

?>

No comments:

Post a Comment