PHP Tutorial
Monday, April 30, 2012
PHP strrev Function Tutorial
strrev Function
Syntax:
strrev(string)
The strrev() function is used to to reverse a string.
Example
<?php
$str = 'This is a test';
$str_reversed = strrev($str);
echo $str_reversed;
?>
Output
tset a si sihT
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment