note 52788 deleted from function.strrev by sobak

From: Date: Thu, 17 Nov 2016 06:19:04 +0000
Subject: note 52788 deleted from function.strrev by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207124@lists.php.net to get a copy of this message
Note Submitter: MagicalTux at FF dot st ---- I will make Screend at hf dot webex dot com's comment more clear and understandable. strrev only works for singlebyte character-sets. Multibytes charactersets are not compatibles with strrev. US-ASCII and ISO-8859-* are compatible with strrev, however BIG5, SJIS, UTF-8 aren't. There's no mb_strrev function in PHP, so you can't strrev() a multibyte string. Try to convert it to something else with iconv() if it can be represented in a singlebyte character set.

« previous php.notes (#207124) next »