PHPize Online / SQLize Online
A A A

Donate Popular

strrev

Tags: PHP 5.x PHP 7.x PHP 8.x

strrev —Reverse a string.

Description

strrev(
    string $string
): string
Returns string, reversed.

Parameters

string
The string to be reversed.

Return Values

Returns the reversed string.

strrev - New snippets