function that reverses string php code example
Example 1: reverse a string in php
<?php
echo strrev("Hello World!");
?>
Example 2: how to reverse a string in php
use strrev(); function
<?php
echo strrev("Hello World!");
?>
use strrev(); function