PHP strrev() Function

P
PHP strrchr() Function
PHP strripos() Function

what is the syntax of the STRREV() function in php?

strrev(string)
ParameterDescription
stringRequired. Specifies the string to reverse
PHP STRREV() method

examples of the STRREV() function

Example 1. In this example, we reverse the string “Hello World!”.

<?php
echo strrev("Hello World!");
?>
PHP strrchr() Function
PHP strripos() Function

Add comment

Tutor Network

Share this

Learn PHP from A to Z