Created
April 4, 2012 09:32
-
-
Save glagola/2299962 to your computer and use it in GitHub Desktop.
utf8_strrev($str)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function utf8_strrev($str) { | |
return iconv("UTF-16LE", "UTF-8", strrev(iconv("UTF-8", "UTF-16BE", $str))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment