reference/mbstring/constants.xml
5e9500ddad6dbc2f1b01d7da8b53379c8b7c386c
...
...
@@ -7,72 +7,160 @@
7
7
<varlistentry xml:id="constant.mb-overload-mail">
8
8
<term>
9
9
<constant>MB_OVERLOAD_MAIL</constant>
10
-
(<type>integer</type>)
10
+
(<type>int</type>)
11
11
</term>
12
12
<listitem>
13
13
<simpara>
14
-
14
+
Removed as of PHP 8.0.0.
15
15
</simpara>
16
16
</listitem>
17
17
</varlistentry>
18
18
<varlistentry xml:id="constant.mb-overload-string">
19
19
<term>
20
20
<constant>MB_OVERLOAD_STRING</constant>
21
-
(<type>integer</type>)
21
+
(<type>int</type>)
22
22
</term>
23
23
<listitem>
24
24
<simpara>
25
-
25
+
Removed as of PHP 8.0.0.
26
26
</simpara>
27
27
</listitem>
28
28
</varlistentry>
29
29
<varlistentry xml:id="constant.mb-overload-regex">
30
30
<term>
31
31
<constant>MB_OVERLOAD_REGEX</constant>
32
-
(<type>integer</type>)
32
+
(<type>int</type>)
33
33
</term>
34
34
<listitem>
35
35
<simpara>
36
-
36
+
Removed as of PHP 8.0.0.
37
37
</simpara>
38
38
</listitem>
39
39
</varlistentry>
40
40
<varlistentry xml:id="constant.mb-case-upper">
41
41
<term>
42
42
<constant>MB_CASE_UPPER</constant>
43
-
(<type>integer</type>)
43
+
(<type>int</type>)
44
44
</term>
45
45
<listitem>
46
46
<simpara>
47
-
47
+
Performs a full upper-case folding.
48
+
This may change the length of the string.
49
+
This is the mode used by mb_strtoupper().
48
50
</simpara>
49
51
</listitem>
50
52
</varlistentry>
51
53
<varlistentry xml:id="constant.mb-case-lower">
52
54
<term>
53
55
<constant>MB_CASE_LOWER</constant>
54
-
(<type>integer</type>)
56
+
(<type>int</type>)
55
57
</term>
56
58
<listitem>
57
59
<simpara>
58
-
60
+
Performs a full lower-case folding.
61
+
This may change the length of the string.
62
+
This is the mode used by mb_strtolower().
59
63
</simpara>
60
64
</listitem>
61
65
</varlistentry>
62
66
<varlistentry xml:id="constant.mb-case-title">
63
67
<term>
64
68
<constant>MB_CASE_TITLE</constant>
65
-
(<type>integer</type>)
69
+
(<type>int</type>)
66
70
</term>
67
71
<listitem>
68
72
<simpara>
69
-
73
+
Performs a full title-case conversion based on the Cased and CaseIgnorable
74
+
derived Unicode properties.
75
+
In particular this improves handling of quotes and apostrophes.
76
+
This may change the length of the string.
77
+
</simpara>
78
+
</listitem>
79
+
</varlistentry>
80
+
<varlistentry xml:id="constant.mb-case-fold">
81
+
<term>
82
+
<constant>MB_CASE_FOLD</constant>
83
+
(<type>int</type>)
84
+
</term>
85
+
<listitem>
86
+
<simpara>
87
+
Performs a full case fold conversion which removes case distinctions
88
+
present in the string.
89
+
This is used for caseless matching.
90
+
This may change the length of the string.
91
+
Available since PHP 7.3.
92
+
</simpara>
93
+
</listitem>
94
+
</varlistentry>
95
+
<varlistentry xml:id="constant.mb-case-lower-simple">
96
+
<term>
97
+
<constant>MB_CASE_LOWER_SIMPLE</constant>
98
+
(<type>int</type>)
99
+
</term>
100
+
<listitem>
101
+
<simpara>
102
+
Performs a simple lower-case fold conversion.
103
+
This does not change the length of the string.
104
+
Available as of PHP 7.3.
105
+
</simpara>
106
+
</listitem>
107
+
</varlistentry>
108
+
<varlistentry xml:id="constant.mb-case-upper-simple">
109
+
<term>
110
+
<constant>MB_CASE_UPPER_SIMPLE</constant>
111
+
(<type>int</type>)
112
+
</term>
113
+
<listitem>
114
+
<simpara>
115
+
Performs simple upper-case fold conversion.
116
+
This does not change the length of the string.
117
+
Available as of PHP 7.3.
118
+
</simpara>
119
+
</listitem>
120
+
</varlistentry>
121
+
<varlistentry xml:id="constant.mb-case-title-simple">
122
+
<term>
123
+
<constant>MB_CASE_TITLE_SIMPLE</constant>
124
+
(<type>int</type>)
125
+
</term>
126
+
<listitem>
127
+
<simpara>
128
+
Performs simple title-case fold conversion.
129
+
This does not change the length of the string.
130
+
Available as of PHP 7.3.
131
+
</simpara>
132
+
</listitem>
133
+
</varlistentry>
134
+
<varlistentry xml:id="constant.mb-case-fold-simple">
135
+
<term>
136
+
<constant>MB_CASE_FOLD_SIMPLE</constant>
137
+
(<type>int</type>)
138
+
</term>
139
+
<listitem>
140
+
<simpara>
141
+
Performs a simple case fold conversion which removes case distinctions
142
+
present in the string.
143
+
This is used for caseless matching.
144
+
This does not change the length of the string.
145
+
Used by case-insensitive operations internally by the MBString extension.
146
+
Available as of PHP 7.3.
147
+
</simpara>
148
+
</listitem>
149
+
</varlistentry>
150
+
<varlistentry xml:id="constant.mb-oniguruma-version">
151
+
<term>
152
+
<constant>MB_ONIGURUMA_VERSION</constant>
153
+
(<type>string</type>)
154
+
</term>
155
+
<listitem>
156
+
<simpara>
157
+
The Oniguruma version, e.g. <literal>6.9.4</literal>.
158
+
Available as of PHP 7.4.
70
159
</simpara>
71
160
</listitem>
72
161
</varlistentry>
73
162
</variablelist>
74
163
</appendix>
75
-

76
164
<!-- Keep this comment at the end of the file
77
165
Local variables:
78
166
mode: sgml
79
167