Voting

: eight minus one?
(Example: nine)

The Note You're Voting On

tianyiw at vip dot qq dot com
7 years ago
This function support utf-8 encoding, Human Language and Character Encoding Support:

<?php
function mb_strrev($str){
$r = '';
for (
$i = mb_strlen($str); $i>=0; $i--) {
$r .= mb_substr($str, $i, 1);
}
return
$r;
}

echo
mb_strrev("☆❤world"); // echo "dlrow❤☆"
?>

<< Back to user notes page

To Top