← All built-ins / strrev()
strrev()
strrev(string $s): string
Parameters
| Name | Type | Description |
|---|---|---|
| $s | string | input string |
Return value
The string reversed byte by byte.
Example
echo strrev("holy");yloh
| Name | Type | Description |
|---|---|---|
| $s | string | input string |
The string reversed byte by byte.
echo strrev("holy");yloh