Php Flow » Php

how to reverse a string in php

Here we define how to revers a string with help of php functions.

  1. <?php  
  2. echo strrev(“Hello world!”); // outputs ”!dlrow olleH”  
  3. ?>  

Did you enjoy this article? Share it!

About the Author:

Hi, This is Parvez Alam from India. I am software developer with 4 years’ experience in web development. I have submitted articles on PHP, Mysql, Magento,CSS, HTML, jQuery, web designing and social API. You can subscribe to my blog via RSS/Twitter/Google plus and Facebook.

Random Posts

Comments are closed.