Support Joomla!
Main
News
Help
Forum
Extensions
Shop
Developers
Joomla! 1.5 Documentation
Home
API reference wiki
Browse SVN repository
Packages
Select a package...
Unknown
Cache_Lite
com-tecnick-tcpdf
core
Joomla-Framework
OpenID
patError
patTemplate
PEAR
phpGACL
PHPMailer
PHP_Compat
utf8
Yadis
Package: utf8
Other documents
Changelog
To do
To do (2)
Element index (all)
Error log
Install
Copyright
License
Developer Network License
The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the
Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5
Source code for file /phputf8/strcasecmp.php
Documentation is available at
strcasecmp.php
<?php
/**
*
@version
$Id: strcasecmp.php,v 1.1 2006/02/25 13:50:17 harryf Exp $
*
@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
)
;
}
Documentation generated on Mon, 05 Mar 2007 21:26:57 +0000 by
phpDocumentor 1.3.1