php strrev() function

Demo :

The strrev() function is used to string or number reverseing order.



Type Text  

Example :

Type Text : Hello World.

If you need to reverses a string following code usefull to you.


<?php
  $string = "Hello World";
  $result = strrev($string);
  echo $result;
?>

In the above code is used to reverses a string .The sentence will pass to the strrev() function.Finally output will display "dlroW olleH".In the strrev() function have one parameters that name is string str.

Free Download Script :

If you need strrev() function demo code click and download from following link.

Download




Content