php-doc-en/reference/mbstring/constants.xml

182 lines
4.7 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<appendix xml:id="mbstring.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<variablelist>
<varlistentry xml:id="constant.mb-overload-mail">
<term>
<constant>MB_OVERLOAD_MAIL</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Removed as of PHP 8.0.0.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-overload-string">
<term>
<constant>MB_OVERLOAD_STRING</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Removed as of PHP 8.0.0.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-overload-regex">
<term>
<constant>MB_OVERLOAD_REGEX</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Removed as of PHP 8.0.0.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-upper">
<term>
<constant>MB_CASE_UPPER</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs a full upper-case folding.
This may change the length of the string.
This is the mode used by mb_strtoupper().
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-lower">
<term>
<constant>MB_CASE_LOWER</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs a full lower-case folding.
This may change the length of the string.
This is the mode used by mb_strtolower().
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-title">
<term>
<constant>MB_CASE_TITLE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs a full title-case conversion based on the Cased and CaseIgnorable
derived Unicode properties.
In particular this improves handling of quotes and apostrophes.
This may change the length of the string.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-fold">
<term>
<constant>MB_CASE_FOLD</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs a full case fold conversion which removes case distinctions
present in the string.
This is used for caseless matching.
This may change the length of the string.
Available since PHP 7.3.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-lower-simple">
<term>
<constant>MB_CASE_LOWER_SIMPLE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs a simple lower-case fold conversion.
This does not change the length of the string.
Available as of PHP 7.3.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-upper-simple">
<term>
<constant>MB_CASE_UPPER_SIMPLE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs simple upper-case fold conversion.
This does not change the length of the string.
Available as of PHP 7.3.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-title-simple">
<term>
<constant>MB_CASE_TITLE_SIMPLE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs simple title-case fold conversion.
This does not change the length of the string.
Available as of PHP 7.3.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-case-fold-simple">
<term>
<constant>MB_CASE_FOLD_SIMPLE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Performs a simple case fold conversion which removes case distinctions
present in the string.
This is used for caseless matching.
This does not change the length of the string.
Used by case-insensitive operations internally by the MBString extension.
Available as of PHP 7.3.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mb-oniguruma-version">
<term>
<constant>MB_ONIGURUMA_VERSION</constant>
(<type>string</type>)
</term>
<listitem>
<simpara>
The Oniguruma version, e.g. <literal>6.9.4</literal>.
Available as of PHP 7.4.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->