How to reverse any string in php

We can reverse any string by applying strrev function.

Supose a Given string is look like “quick soluion providers is a place where we can get my solution”.
The new string after applying the strrev function will be “noitulos ym teg nac ew erehw ecalp a si sredivorp noiulos kciuq”

Here is the code:

$st=”quick soluion providers is a place where we can get my solution.”;

echo “Reverse string = “.$st.”";

$st=strrev($st);

echo “The new string after applying the strrev function = “.$st.”";