PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.0
Elementor Website Builder – more than just a page builder v4.3.0
4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 All 453 releases
elementor / vendor_prefixed / twig / symfony / polyfill-mbstring / bootstrap72.php

bootstrap72.php in Elementor Website Builder – more than just a page builder 4.3.0, at vendor_prefixed/twig/symfony/polyfill-mbstring/bootstrap72.php

297 lines 9.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ElementorDeps;
4
5 /*
6 * This file is part of the Symfony package.
7 *
8 * (c) Fabien Potencier <fabien@symfony.com>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
13 use ElementorDeps\Symfony\Polyfill\Mbstring as p;
14 if (!\function_exists('mb_convert_encoding')) {
15 function mb_convert_encoding($string, $to_encoding, $from_encoding = null)
16 {
17 return p\Mbstring::mb_convert_encoding($string, $to_encoding, $from_encoding);
18 }
19 }
20 if (!\function_exists('mb_decode_mimeheader')) {
21 function mb_decode_mimeheader($string)
22 {
23 return p\Mbstring::mb_decode_mimeheader($string);
24 }
25 }
26 if (!\function_exists('mb_encode_mimeheader')) {
27 function mb_encode_mimeheader($string, $charset = null, $transfer_encoding = null, $newline = "\r\n", $indent = 0)
28 {
29 return p\Mbstring::mb_encode_mimeheader($string, $charset, $transfer_encoding, $newline, $indent);
30 }
31 }
32 if (!\function_exists('mb_decode_numericentity')) {
33 function mb_decode_numericentity($string, $map, $encoding = null)
34 {
35 return p\Mbstring::mb_decode_numericentity($string, $map, $encoding);
36 }
37 }
38 if (!\function_exists('mb_encode_numericentity')) {
39 function mb_encode_numericentity($string, $map, $encoding = null, $hex = \false)
40 {
41 return p\Mbstring::mb_encode_numericentity($string, $map, $encoding, $hex);
42 }
43 }
44 if (!\function_exists('mb_convert_case')) {
45 function mb_convert_case($string, $mode, $encoding = null)
46 {
47 return p\Mbstring::mb_convert_case($string, $mode, $encoding);
48 }
49 }
50 if (!\function_exists('mb_internal_encoding')) {
51 function mb_internal_encoding($encoding = null)
52 {
53 return p\Mbstring::mb_internal_encoding($encoding);
54 }
55 }
56 if (!\function_exists('mb_language')) {
57 function mb_language($language = null)
58 {
59 return p\Mbstring::mb_language($language);
60 }
61 }
62 if (!\function_exists('mb_list_encodings')) {
63 function mb_list_encodings()
64 {
65 return p\Mbstring::mb_list_encodings();
66 }
67 }
68 if (!\function_exists('mb_encoding_aliases')) {
69 function mb_encoding_aliases($encoding)
70 {
71 return p\Mbstring::mb_encoding_aliases($encoding);
72 }
73 }
74 if (!\function_exists('mb_check_encoding')) {
75 function mb_check_encoding($value = null, $encoding = null)
76 {
77 return p\Mbstring::mb_check_encoding($value, $encoding);
78 }
79 }
80 if (!\function_exists('mb_detect_encoding')) {
81 function mb_detect_encoding($string, $encodings = null, $strict = \false)
82 {
83 return p\Mbstring::mb_detect_encoding($string, $encodings, $strict);
84 }
85 }
86 if (!\function_exists('mb_detect_order')) {
87 function mb_detect_order($encoding = null)
88 {
89 return p\Mbstring::mb_detect_order($encoding);
90 }
91 }
92 if (!\function_exists('mb_parse_str')) {
93 function mb_parse_str($string, &$result = [])
94 {
95 \parse_str($string, $result);
96 return (bool) $result;
97 }
98 }
99 if (!\function_exists('mb_strlen')) {
100 function mb_strlen($string, $encoding = null)
101 {
102 return p\Mbstring::mb_strlen($string, $encoding);
103 }
104 }
105 if (!\function_exists('mb_strpos')) {
106 function mb_strpos($haystack, $needle, $offset = 0, $encoding = null)
107 {
108 return p\Mbstring::mb_strpos($haystack, $needle, $offset, $encoding);
109 }
110 }
111 if (!\function_exists('mb_strtolower')) {
112 function mb_strtolower($string, $encoding = null)
113 {
114 return p\Mbstring::mb_strtolower($string, $encoding);
115 }
116 }
117 if (!\function_exists('mb_strtoupper')) {
118 function mb_strtoupper($string, $encoding = null)
119 {
120 return p\Mbstring::mb_strtoupper($string, $encoding);
121 }
122 }
123 if (!\function_exists('mb_substitute_character')) {
124 function mb_substitute_character($substitute_character = null)
125 {
126 return p\Mbstring::mb_substitute_character($substitute_character);
127 }
128 }
129 if (!\function_exists('mb_substr')) {
130 function mb_substr($string, $start, $length = 2147483647, $encoding = null)
131 {
132 return p\Mbstring::mb_substr($string, $start, $length, $encoding);
133 }
134 }
135 if (!\function_exists('mb_stripos')) {
136 function mb_stripos($haystack, $needle, $offset = 0, $encoding = null)
137 {
138 return p\Mbstring::mb_stripos($haystack, $needle, $offset, $encoding);
139 }
140 }
141 if (!\function_exists('mb_stristr')) {
142 function mb_stristr($haystack, $needle, $before_needle = \false, $encoding = null)
143 {
144 return p\Mbstring::mb_stristr($haystack, $needle, $before_needle, $encoding);
145 }
146 }
147 if (!\function_exists('mb_strrchr')) {
148 function mb_strrchr($haystack, $needle, $before_needle = \false, $encoding = null)
149 {
150 return p\Mbstring::mb_strrchr($haystack, $needle, $before_needle, $encoding);
151 }
152 }
153 if (!\function_exists('mb_strrichr')) {
154 function mb_strrichr($haystack, $needle, $before_needle = \false, $encoding = null)
155 {
156 return p\Mbstring::mb_strrichr($haystack, $needle, $before_needle, $encoding);
157 }
158 }
159 if (!\function_exists('mb_strripos')) {
160 function mb_strripos($haystack, $needle, $offset = 0, $encoding = null)
161 {
162 return p\Mbstring::mb_strripos($haystack, $needle, $offset, $encoding);
163 }
164 }
165 if (!\function_exists('mb_strrpos')) {
166 function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null)
167 {
168 return p\Mbstring::mb_strrpos($haystack, $needle, $offset, $encoding);
169 }
170 }
171 if (!\function_exists('mb_strstr')) {
172 function mb_strstr($haystack, $needle, $before_needle = \false, $encoding = null)
173 {
174 return p\Mbstring::mb_strstr($haystack, $needle, $before_needle, $encoding);
175 }
176 }
177 if (!\function_exists('mb_get_info')) {
178 function mb_get_info($type = 'all')
179 {
180 return p\Mbstring::mb_get_info($type);
181 }
182 }
183 if (!\function_exists('mb_http_output')) {
184 function mb_http_output($encoding = null)
185 {
186 return p\Mbstring::mb_http_output($encoding);
187 }
188 }
189 if (!\function_exists('mb_strwidth')) {
190 function mb_strwidth($string, $encoding = null)
191 {
192 return p\Mbstring::mb_strwidth($string, $encoding);
193 }
194 }
195 if (!\function_exists('mb_substr_count')) {
196 function mb_substr_count($haystack, $needle, $encoding = null)
197 {
198 return p\Mbstring::mb_substr_count($haystack, $needle, $encoding);
199 }
200 }
201 if (!\function_exists('mb_output_handler')) {
202 function mb_output_handler($string, $status)
203 {
204 return p\Mbstring::mb_output_handler($string, $status);
205 }
206 }
207 if (!\function_exists('mb_http_input')) {
208 function mb_http_input($type = null)
209 {
210 return p\Mbstring::mb_http_input($type);
211 }
212 }
213 if (!\function_exists('mb_convert_variables')) {
214 function mb_convert_variables($to_encoding, $from_encoding, &...$vars)
215 {
216 return p\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars);
217 }
218 }
219 if (!\function_exists('mb_ord')) {
220 function mb_ord($string, $encoding = null)
221 {
222 return p\Mbstring::mb_ord($string, $encoding);
223 }
224 }
225 if (!\function_exists('mb_chr')) {
226 function mb_chr($codepoint, $encoding = null)
227 {
228 return p\Mbstring::mb_chr($codepoint, $encoding);
229 }
230 }
231 if (!\function_exists('mb_scrub')) {
232 function mb_scrub($string, $encoding = null)
233 {
234 return p\Mbstring::mb_scrub($string, $encoding);
235 }
236 }
237 if (!\function_exists('mb_str_split')) {
238 function mb_str_split($string, $length = 1, $encoding = null)
239 {
240 return p\Mbstring::mb_str_split($string, $length, $encoding);
241 }
242 }
243 if (!\function_exists('ElementorDeps\\mb_str_pad')) {
244 /** @return string|false */
245 function mb_str_pad(?string $string, ?int $length, ?string $pad_string = ' ', ?int $pad_type = \STR_PAD_RIGHT, ?string $encoding = null)
246 {
247 return p\Mbstring::mb_str_pad((string) $string, (int) $length, (string) $pad_string, (int) $pad_type, $encoding);
248 }
249 }
250 if (!\function_exists('ElementorDeps\\mb_ucfirst')) {
251 /** @return string|false */
252 function mb_ucfirst(?string $string, ?string $encoding = null)
253 {
254 return p\Mbstring::mb_ucfirst((string) $string, $encoding);
255 }
256 }
257 if (!\function_exists('ElementorDeps\\mb_lcfirst')) {
258 /** @return string|false */
259 function mb_lcfirst(?string $string, ?string $encoding = null)
260 {
261 return p\Mbstring::mb_lcfirst((string) $string, $encoding);
262 }
263 }
264 if (!\function_exists('ElementorDeps\\mb_trim')) {
265 /** @return string|false */
266 function mb_trim(?string $string, ?string $characters = null, ?string $encoding = null)
267 {
268 return p\Mbstring::mb_trim((string) $string, $characters, $encoding);
269 }
270 }
271 if (!\function_exists('ElementorDeps\\mb_ltrim')) {
272 /** @return string|false */
273 function mb_ltrim(?string $string, ?string $characters = null, ?string $encoding = null)
274 {
275 return p\Mbstring::mb_ltrim((string) $string, $characters, $encoding);
276 }
277 }
278 if (!\function_exists('ElementorDeps\\mb_rtrim')) {
279 /** @return string|false */
280 function mb_rtrim(?string $string, ?string $characters = null, ?string $encoding = null)
281 {
282 return p\Mbstring::mb_rtrim((string) $string, $characters, $encoding);
283 }
284 }
285 if (\extension_loaded('mbstring')) {
286 return;
287 }
288 if (!\defined('MB_CASE_UPPER')) {
289 \define('MB_CASE_UPPER', 0);
290 }
291 if (!\defined('MB_CASE_LOWER')) {
292 \define('MB_CASE_LOWER', 1);
293 }
294 if (!\defined('MB_CASE_TITLE')) {
295 \define('MB_CASE_TITLE', 2);
296 }
297