CoreFiles by mySites.guru
strcasecmp.php26 lines, 598 bytes, from Joomla_1.5.21-Stable-Full_Package.zip
Raw History Compare with 1.5.20
md5
e89ee8438fe0445f1399eafa1d8755a3
sha1
e50e8ea552b09c6281e20463f87cd13226951100
sha256
e1dd9e271fa08fa3e1d776173a0135ae53611594cbbaa9630eadbda9f439d4ea
<?php
/**
* @version $Id: strcasecmp.php 10381 2008-06-01 03:35:53Z pasamio $
* @package utf8
* @subpackage strings
*/

//---------------------------------------------------------------
/**
* UTF-8 aware alternative to strcasecmp
* A case insensivite string comparison
* Note: requires utf8_strtolower
* @param string
* @param string
* @return int
* @see http://www.php.net/strcasecmp
* @see utf8_strtolower
* @package utf8
* @subpackage strings
*/
function utf8_strcasecmp($strX, $strY) {
    $strX = utf8_strtolower($strX);
    $strY = utf8_strtolower($strY);
    return strcmp($strX, $strY);
}

The same content is in 23 releases, Joomla 1.5.4 to 1.5.26. See them all, or every version of this file.