← All docs

grapheme_strrev()

Reverses a string by grapheme cluster, returning false on failure.

grapheme_strrev()

function grapheme_strrev(string $string): mixed

Reverses a string by grapheme cluster, returning false on failure.

Parameters:

  • $string (string)

Returns: mixed

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how grapheme_strrev is implemented in the compiler, see the internals page.