CoreFiles by mySites.guru
strrev.php22 lines, 506 bytes, from Joomla_1.6.3-Stable-Full_Package.zip
Raw History Compare with 1.6.2
md5
72da8c0c1233f96a31969ed06e020568
sha1
ddc088a81e969159660b3fb7f382b91baa1bebdf
sha256
d6054852c17058b6aa4365e3379dfab30e540e2dc2e0db0796f67e651d407f4f
<?php
/**
* @version $Id: strrev.php 16235 2010-04-20 04:13:25Z pasamio $
* @package utf8
* @subpackage strings
*/

//---------------------------------------------------------------
/**
* UTF-8 aware alternative to strrev
* Reverse a string
* @param string UTF-8 encoded
* @return string characters in string reverses
* @see http://www.php.net/strrev
* @package utf8
* @subpackage strings
*/
function utf8_strrev($str){
    preg_match_all('/./us', $str, $ar);
    return join('',array_reverse($ar[0]));
}

The same content is in 7 releases, Joomla 1.6.0 to 1.6.6. See them all, or every version of this file.