Powered by Blogger.

Reverse String Program in PHP



Reverse String Program in PHP

Reverse String Program in PHP - Sting is the collection of characters. In php we can write this code using strrev() Function.
Reverse String Program in PHP

In PHP we can reverse any string using strrev() Function. Compare to C Programming here you can perform this code very easily. Here we write Reverse String Program in PHP in very simple and easy way.

Code for Reverse String in PHP

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

Output

!dlroW olleH
I hope this code is helpful for you





facebook
google-plus
twitter
pinterest

No comments :

Post a Comment

HTML Tutorial

images

About Sitesbay

This blog is related to Java Tutorial, C++ Tutorial, C Tutorial, Online Earning tips and more in very simple and easy way. Here i will try to give complete idea related to all new technology.

Java Tutorial

Java is Object oriented programming language, It is more secure and high performance language.

C++ Tutorial

C++ is also Object oriented programming language, It is more simple and easy to learn.

 
https://sitesbay.blogspot.com/?utm_medium=d2898efa59afcc0bc411921036e22b767ca37b09