reverse number or string in the php

technical talkiess
0

reverse number or string in the php


 <?php

$num =1234567890;

echo "Reverse the number .....<br>";

echo strrev($num);


echo "<br/>";

$name = "Vishal usrate Works in google";

echo "Reverse the String .....<br>";

echo strrev($name);




?> 



Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)