Blog Details

how to Reverse a string in php



                                

* PHP strrev() Function :-

  • The strrev() function reverses a string.

Syntax :

strrev(string)

Example :

<html> <body> <?php echo strrev("Hello World!"); ?> </body> </html>

Output :

!dlroW olleH


Categories

Core_PHP

Latest posts

13.05.14
Implementing CRUD Operations ¶

<ul> <li>Now comes the fun part. We would like t

13.05.14
View

<ol> <li><a href="http://www.yiiframework.com/do

13.05.14
Creating Model

<ol> <li><a href="http://www.yiiframework.com/do

Get Free Quote