Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

DisallowedRanges.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 8.73 KiB


001  <?php
002   
003  /*
004   * This file is part of the Symfony package.
005   *
006   * (c) Fabien Potencier <fabien@symfony.com>
007   *
008   * For the full copyright and license information, please view the LICENSE
009   * file that was distributed with this source code.
010   */
011   
012  namespace Symfony\Polyfill\Intl\Idn\Resources\unidata;
013   
014  /**
015   * @internal
016   */
017  final class DisallowedRanges
018  {
019      /**
020       * @param int $codePoint
021       *
022       * @return bool
023       */
024      public static function inRange($codePoint)
025      {
026          if ($codePoint >= 128 && $codePoint <= 159) {
027              return true;
028          }
029   
030          if ($codePoint >= 2155 && $codePoint <= 2207) {
031              return true;
032          }
033   
034          if ($codePoint >= 3676 && $codePoint <= 3712) {
035              return true;
036          }
037   
038          if ($codePoint >= 3808 && $codePoint <= 3839) {
039              return true;
040          }
041   
042          if ($codePoint >= 4059 && $codePoint <= 4095) {
043              return true;
044          }
045   
046          if ($codePoint >= 4256 && $codePoint <= 4293) {
047              return true;
048          }
049   
050          if ($codePoint >= 6849 && $codePoint <= 6911) {
051              return true;
052          }
053   
054          if ($codePoint >= 11859 && $codePoint <= 11903) {
055              return true;
056          }
057   
058          if ($codePoint >= 42955 && $codePoint <= 42996) {
059              return true;
060          }
061   
062          if ($codePoint >= 55296 && $codePoint <= 57343) {
063              return true;
064          }
065   
066          if ($codePoint >= 57344 && $codePoint <= 63743) {
067              return true;
068          }
069   
070          if ($codePoint >= 64218 && $codePoint <= 64255) {
071              return true;
072          }
073   
074          if ($codePoint >= 64976 && $codePoint <= 65007) {
075              return true;
076          }
077   
078          if ($codePoint >= 65630 && $codePoint <= 65663) {
079              return true;
080          }
081   
082          if ($codePoint >= 65953 && $codePoint <= 65999) {
083              return true;
084          }
085   
086          if ($codePoint >= 66046 && $codePoint <= 66175) {
087              return true;
088          }
089   
090          if ($codePoint >= 66518 && $codePoint <= 66559) {
091              return true;
092          }
093   
094          if ($codePoint >= 66928 && $codePoint <= 67071) {
095              return true;
096          }
097   
098          if ($codePoint >= 67432 && $codePoint <= 67583) {
099              return true;
100          }
101   
102          if ($codePoint >= 67760 && $codePoint <= 67807) {
103              return true;
104          }
105   
106          if ($codePoint >= 67904 && $codePoint <= 67967) {
107              return true;
108          }
109   
110          if ($codePoint >= 68256 && $codePoint <= 68287) {
111              return true;
112          }
113   
114          if ($codePoint >= 68528 && $codePoint <= 68607) {
115              return true;
116          }
117   
118          if ($codePoint >= 68681 && $codePoint <= 68735) {
119              return true;
120          }
121   
122          if ($codePoint >= 68922 && $codePoint <= 69215) {
123              return true;
124          }
125   
126          if ($codePoint >= 69298 && $codePoint <= 69375) {
127              return true;
128          }
129   
130          if ($codePoint >= 69466 && $codePoint <= 69551) {
131              return true;
132          }
133   
134          if ($codePoint >= 70207 && $codePoint <= 70271) {
135              return true;
136          }
137   
138          if ($codePoint >= 70517 && $codePoint <= 70655) {
139              return true;
140          }
141   
142          if ($codePoint >= 70874 && $codePoint <= 71039) {
143              return true;
144          }
145   
146          if ($codePoint >= 71134 && $codePoint <= 71167) {
147              return true;
148          }
149   
150          if ($codePoint >= 71370 && $codePoint <= 71423) {
151              return true;
152          }
153   
154          if ($codePoint >= 71488 && $codePoint <= 71679) {
155              return true;
156          }
157   
158          if ($codePoint >= 71740 && $codePoint <= 71839) {
159              return true;
160          }
161   
162          if ($codePoint >= 72026 && $codePoint <= 72095) {
163              return true;
164          }
165   
166          if ($codePoint >= 72441 && $codePoint <= 72703) {
167              return true;
168          }
169   
170          if ($codePoint >= 72887 && $codePoint <= 72959) {
171              return true;
172          }
173   
174          if ($codePoint >= 73130 && $codePoint <= 73439) {
175              return true;
176          }
177   
178          if ($codePoint >= 73465 && $codePoint <= 73647) {
179              return true;
180          }
181   
182          if ($codePoint >= 74650 && $codePoint <= 74751) {
183              return true;
184          }
185   
186          if ($codePoint >= 75076 && $codePoint <= 77823) {
187              return true;
188          }
189   
190          if ($codePoint >= 78905 && $codePoint <= 82943) {
191              return true;
192          }
193   
194          if ($codePoint >= 83527 && $codePoint <= 92159) {
195              return true;
196          }
197   
198          if ($codePoint >= 92784 && $codePoint <= 92879) {
199              return true;
200          }
201   
202          if ($codePoint >= 93072 && $codePoint <= 93759) {
203              return true;
204          }
205   
206          if ($codePoint >= 93851 && $codePoint <= 93951) {
207              return true;
208          }
209   
210          if ($codePoint >= 94112 && $codePoint <= 94175) {
211              return true;
212          }
213   
214          if ($codePoint >= 101590 && $codePoint <= 101631) {
215              return true;
216          }
217   
218          if ($codePoint >= 101641 && $codePoint <= 110591) {
219              return true;
220          }
221   
222          if ($codePoint >= 110879 && $codePoint <= 110927) {
223              return true;
224          }
225   
226          if ($codePoint >= 111356 && $codePoint <= 113663) {
227              return true;
228          }
229   
230          if ($codePoint >= 113828 && $codePoint <= 118783) {
231              return true;
232          }
233   
234          if ($codePoint >= 119366 && $codePoint <= 119519) {
235              return true;
236          }
237   
238          if ($codePoint >= 119673 && $codePoint <= 119807) {
239              return true;
240          }
241   
242          if ($codePoint >= 121520 && $codePoint <= 122879) {
243              return true;
244          }
245   
246          if ($codePoint >= 122923 && $codePoint <= 123135) {
247              return true;
248          }
249   
250          if ($codePoint >= 123216 && $codePoint <= 123583) {
251              return true;
252          }
253   
254          if ($codePoint >= 123648 && $codePoint <= 124927) {
255              return true;
256          }
257   
258          if ($codePoint >= 125143 && $codePoint <= 125183) {
259              return true;
260          }
261   
262          if ($codePoint >= 125280 && $codePoint <= 126064) {
263              return true;
264          }
265   
266          if ($codePoint >= 126133 && $codePoint <= 126208) {
267              return true;
268          }
269   
270          if ($codePoint >= 126270 && $codePoint <= 126463) {
271              return true;
272          }
273   
274          if ($codePoint >= 126652 && $codePoint <= 126703) {
275              return true;
276          }
277   
278          if ($codePoint >= 126706 && $codePoint <= 126975) {
279              return true;
280          }
281   
282          if ($codePoint >= 127406 && $codePoint <= 127461) {
283              return true;
284          }
285   
286          if ($codePoint >= 127590 && $codePoint <= 127743) {
287              return true;
288          }
289   
290          if ($codePoint >= 129202 && $codePoint <= 129279) {
291              return true;
292          }
293   
294          if ($codePoint >= 129751 && $codePoint <= 129791) {
295              return true;
296          }
297   
298          if ($codePoint >= 129995 && $codePoint <= 130031) {
299              return true;
300          }
301   
302          if ($codePoint >= 130042 && $codePoint <= 131069) {
303              return true;
304          }
305   
306          if ($codePoint >= 173790 && $codePoint <= 173823) {
307              return true;
308          }
309   
310          if ($codePoint >= 191457 && $codePoint <= 194559) {
311              return true;
312          }
313   
314          if ($codePoint >= 195102 && $codePoint <= 196605) {
315              return true;
316          }
317   
318          if ($codePoint >= 201547 && $codePoint <= 262141) {
319              return true;
320          }
321   
322          if ($codePoint >= 262144 && $codePoint <= 327677) {
323              return true;
324          }
325   
326          if ($codePoint >= 327680 && $codePoint <= 393213) {
327              return true;
328          }
329   
330          if ($codePoint >= 393216 && $codePoint <= 458749) {
331              return true;
332          }
333   
334          if ($codePoint >= 458752 && $codePoint <= 524285) {
335              return true;
336          }
337   
338          if ($codePoint >= 524288 && $codePoint <= 589821) {
339              return true;
340          }
341   
342          if ($codePoint >= 589824 && $codePoint <= 655357) {
343              return true;
344          }
345   
346          if ($codePoint >= 655360 && $codePoint <= 720893) {
347              return true;
348          }
349   
350          if ($codePoint >= 720896 && $codePoint <= 786429) {
351              return true;
352          }
353   
354          if ($codePoint >= 786432 && $codePoint <= 851965) {
355              return true;
356          }
357   
358          if ($codePoint >= 851968 && $codePoint <= 917501) {
359              return true;
360          }
361   
362          if ($codePoint >= 917536 && $codePoint <= 917631) {
363              return true;
364          }
365   
366          if ($codePoint >= 917632 && $codePoint <= 917759) {
367              return true;
368          }
369   
370          if ($codePoint >= 918000 && $codePoint <= 983037) {
371              return true;
372          }
373   
374          if ($codePoint >= 983040 && $codePoint <= 1048573) {
375              return true;
376          }
377   
378          if ($codePoint >= 1048576 && $codePoint <= 1114109) {
379              return true;
380          }
381   
382          return false;
383      }
384  }
385