string_reverse [function]

string_reverse( string str )

returns str with all the bytes in reversed order

This function will not work correctly with multibyte-encoded strings.

string_reverse( "noitca" ); // string [6] "action"