Created
March 24, 2018 09:21
-
-
Save komeiji-satori/1aa7225850e91ffba36f2ddc5a674e1b to your computer and use it in GitHub Desktop.
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){ | |
preg_match_all('/./us', $str, $ar); | |
return join('', array_reverse($ar[0])); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment