- Published on
PHP's strrev
is not safe to use on utf-8 strings because it reverses a string
one byte at a time. So if a character consists of multiple bytes it cannot be preserved
as an entity in the reversed result.
There is no Multibyte String alternative
to strrev either.