You are here : phpstringstrrev

strrev() - string

Returns string, reversed.
Parameters :
  • string - The string to be reversed.

  • Syntax

    string strrev
        ( string $string
       )


    Example

    <?phpecho strrev("Hello world!"); // outputs "!dlrow olleH"?>


    Output / Return Value


    Limitations


    Alternatives / See Also


    Reference