array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.strcoll.php', 1 => 'strcoll', ), 'up' => array ( 0 => 'ref.strings.php', 1 => '字符串 函数', ), 'prev' => array ( 0 => 'function.strcmp.php', 1 => 'strcmp', ), 'next' => array ( 0 => 'function.strcspn.php', 1 => 'strcspn', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/strings/functions/strcoll.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8)
strcoll — 基于区域设置的字符串比较
string1
第一个字符串。
string2
第二个字符串。
如果 string1
小于
string2
返回 < 0;
如果 string1
大于 string2
返回 > 0;如果两者相等,返回 0。