下列常量作为 PHP 核心的一部分总是可用的。
CASE_LOWER
    (integer)
   CASE_LOWER 用在
     array_change_key_case() 中将数组的键名转换成小写字母。这也是
     array_change_key_case() 的默认值。
    
   CASE_UPPER
    (integer)
   CASE_UPPER 用在
     array_change_key_case() 中将数组的键名转换成大写字母。
    
   排序顺序标识:
SORT_ASC
    (integer)
   SORT_ASC 用在 array_multisort()
     函数中,使其升序排列。
    
   SORT_DESC
    (integer)
   SORT_DESC 用在 array_multisort()
     函数中,使其降序排列。
    
   排序类型标识:用于各种排序函数
SORT_REGULAR
    (integer)
   SORT_REGULAR 用于对对象进行通常比较。
    
   SORT_NUMERIC
    (integer)
   SORT_NUMERIC 用于对对象进行数值比较。
    
   SORT_STRING
    (integer)
   SORT_STRING 用于对对象进行字符串比较。
    
   SORT_LOCALE_STRING
    (integer)
   SORT_LOCALE_STRING 基于当前区域来对对象进行字符串比较。PHP
    4.4.0 和 5.0.2 新加。
    
   COUNT_NORMAL
     (integer)
   COUNT_RECURSIVE
     (integer)
   EXTR_OVERWRITE
     (integer)
   EXTR_SKIP
     (integer)
   EXTR_PREFIX_SAME
     (integer)
   EXTR_PREFIX_ALL
     (integer)
   EXTR_PREFIX_INVALID
     (integer)
   EXTR_PREFIX_IF_EXISTS
     (integer)
   EXTR_IF_EXISTS
     (integer)
   EXTR_REFS
     (integer)