Home >> PHP >> strrev() function in PHP

strrev() function in PHP

The strrev() function used for reverse a string.

Syntax

strrev(string)

Example

echo strrev('Hello');

Output

olleH

Post Your Comment

Next Questions
strripos() function
strrpos() function
strspn() function
strstr() function
strtok() function
strtolower() function
strtoupper() function
strtr() function
substr() function
substr_compare() function
substr_count() function
substr_replace() function
trim() function
ucfirst() function
ucwords() function
wordwrap() function
array
Array type
Numeric array
Associate array
Multidimensional array
array() function
array_change_key_case() function
array_chunk() function
array_combine() function

Copyright ©2022 coderraj.com. All Rights Reserved.