what is the syntax of the STRREV() function in php?
strrev(string)
Parameter | Description |
---|---|
string | Required. Specifies the string to reverse |
examples of the STRREV() function
Example 1. In this example, we reverse the string “Hello World!”.
<?php
echo strrev("Hello World!");
?>