Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

MB_OVERLOAD_MAIL (integer)
MB_OVERLOAD_STRING (integer)
MB_OVERLOAD_REGEX (integer)
MB_CASE_UPPER (integer)
MB_CASE_LOWER (integer)
MB_CASE_TITLE (integer)

Коментарии

The MB_CASE_TITLE flag does not result in true title case but simply upper-cases each word in the title and changes all others to lowercase.

Example:

$string = "Mrs. Frisby and the Rats of NIMH";
echo mb_convert_case($string, MB_CASE_TITLE);

Result:

Mrs. Frisby And The Rats Of Nimh
2024-11-14 21:04:08
http://php5.kiev.ua/manual/ru/mbstring.constants.html

    Поддержать сайт на родительском проекте КГБ