Home Menu

strrev

Reverse a string

Syntax

strrev ( string $string ) : string

Parameters

string

The string to be reversed.

Return

Returns the reversed string.

Examples

<?

$string = "Hello";

$return = strrev($string);

echo $return;

?>
olleH

PHP

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms