1--TEST--
2Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & diff quote_style
3--FILE--
4<?php
5/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style [, string charset_hint]]] )
6 * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
7 * Source code: ext/standard/html.c
8*/
9
10/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
11
12//set locale to en_US.UTF-8
13setlocale(LC_ALL, "en_US.UTF-8");
14
15
16echo "*** Testing get_html_translation_table() : basic functionality ***\n";
17
18// Calling get_html_translation_table() with all arguments
19// $table as HTML_ENTITIES and different quote style
20echo "-- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --\n";
21$table = HTML_ENTITIES;
22$quote_style = ENT_COMPAT;
23$tt = get_html_translation_table($table, $quote_style, "UTF-8");
24asort( $tt );
25var_dump( $tt );
26
27echo "-- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --\n";
28$quote_style = ENT_QUOTES;
29$tt = get_html_translation_table($table, $quote_style, "UTF-8");
30asort( $tt );
31var_dump( $tt );
32
33echo "-- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --\n";
34$quote_style = ENT_NOQUOTES;
35$tt = get_html_translation_table($table, $quote_style, "UTF-8");
36asort( $tt );
37var_dump( $tt );
38
39
40echo "Done\n";
41?>
42--EXPECT--
43*** Testing get_html_translation_table() : basic functionality ***
44-- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
45array(252) {
46  ["Æ"]=>
47  string(7) "&AElig;"
48  ["Á"]=>
49  string(8) "&Aacute;"
50  ["Â"]=>
51  string(7) "&Acirc;"
52  ["À"]=>
53  string(8) "&Agrave;"
54  ["Α"]=>
55  string(7) "&Alpha;"
56  ["Å"]=>
57  string(7) "&Aring;"
58  ["Ã"]=>
59  string(8) "&Atilde;"
60  ["Ä"]=>
61  string(6) "&Auml;"
62  ["Β"]=>
63  string(6) "&Beta;"
64  ["Ç"]=>
65  string(8) "&Ccedil;"
66  ["Χ"]=>
67  string(5) "&Chi;"
68  ["‡"]=>
69  string(8) "&Dagger;"
70  ["Δ"]=>
71  string(7) "&Delta;"
72  ["Ð"]=>
73  string(5) "&ETH;"
74  ["É"]=>
75  string(8) "&Eacute;"
76  ["Ê"]=>
77  string(7) "&Ecirc;"
78  ["È"]=>
79  string(8) "&Egrave;"
80  ["Ε"]=>
81  string(9) "&Epsilon;"
82  ["Η"]=>
83  string(5) "&Eta;"
84  ["Ë"]=>
85  string(6) "&Euml;"
86  ["Γ"]=>
87  string(7) "&Gamma;"
88  ["Í"]=>
89  string(8) "&Iacute;"
90  ["Î"]=>
91  string(7) "&Icirc;"
92  ["Ì"]=>
93  string(8) "&Igrave;"
94  ["Ι"]=>
95  string(6) "&Iota;"
96  ["Ï"]=>
97  string(6) "&Iuml;"
98  ["Κ"]=>
99  string(7) "&Kappa;"
100  ["Λ"]=>
101  string(8) "&Lambda;"
102  ["Μ"]=>
103  string(4) "&Mu;"
104  ["Ñ"]=>
105  string(8) "&Ntilde;"
106  ["Ν"]=>
107  string(4) "&Nu;"
108  ["Œ"]=>
109  string(7) "&OElig;"
110  ["Ó"]=>
111  string(8) "&Oacute;"
112  ["Ô"]=>
113  string(7) "&Ocirc;"
114  ["Ò"]=>
115  string(8) "&Ograve;"
116  ["Ω"]=>
117  string(7) "&Omega;"
118  ["Ο"]=>
119  string(9) "&Omicron;"
120  ["Ø"]=>
121  string(8) "&Oslash;"
122  ["Õ"]=>
123  string(8) "&Otilde;"
124  ["Ö"]=>
125  string(6) "&Ouml;"
126  ["Φ"]=>
127  string(5) "&Phi;"
128  ["Π"]=>
129  string(4) "&Pi;"
130  ["″"]=>
131  string(7) "&Prime;"
132  ["Ψ"]=>
133  string(5) "&Psi;"
134  ["Ρ"]=>
135  string(5) "&Rho;"
136  ["Š"]=>
137  string(8) "&Scaron;"
138  ["Σ"]=>
139  string(7) "&Sigma;"
140  ["Þ"]=>
141  string(7) "&THORN;"
142  ["Τ"]=>
143  string(5) "&Tau;"
144  ["Θ"]=>
145  string(7) "&Theta;"
146  ["Ú"]=>
147  string(8) "&Uacute;"
148  ["Û"]=>
149  string(7) "&Ucirc;"
150  ["Ù"]=>
151  string(8) "&Ugrave;"
152  ["Υ"]=>
153  string(9) "&Upsilon;"
154  ["Ü"]=>
155  string(6) "&Uuml;"
156  ["Ξ"]=>
157  string(4) "&Xi;"
158  ["Ý"]=>
159  string(8) "&Yacute;"
160  ["Ÿ"]=>
161  string(6) "&Yuml;"
162  ["Ζ"]=>
163  string(6) "&Zeta;"
164  ["á"]=>
165  string(8) "&aacute;"
166  ["â"]=>
167  string(7) "&acirc;"
168  ["´"]=>
169  string(7) "&acute;"
170  ["æ"]=>
171  string(7) "&aelig;"
172  ["à"]=>
173  string(8) "&agrave;"
174  ["ℵ"]=>
175  string(9) "&alefsym;"
176  ["α"]=>
177  string(7) "&alpha;"
178  ["&"]=>
179  string(5) "&amp;"
180  ["∧"]=>
181  string(5) "&and;"
182  ["∠"]=>
183  string(5) "&ang;"
184  ["å"]=>
185  string(7) "&aring;"
186  ["≈"]=>
187  string(7) "&asymp;"
188  ["ã"]=>
189  string(8) "&atilde;"
190  ["ä"]=>
191  string(6) "&auml;"
192  ["„"]=>
193  string(7) "&bdquo;"
194  ["β"]=>
195  string(6) "&beta;"
196  ["¦"]=>
197  string(8) "&brvbar;"
198  ["•"]=>
199  string(6) "&bull;"
200  ["∩"]=>
201  string(5) "&cap;"
202  ["ç"]=>
203  string(8) "&ccedil;"
204  ["¸"]=>
205  string(7) "&cedil;"
206  ["¢"]=>
207  string(6) "&cent;"
208  ["χ"]=>
209  string(5) "&chi;"
210  ["ˆ"]=>
211  string(6) "&circ;"
212  ["♣"]=>
213  string(7) "&clubs;"
214  ["≅"]=>
215  string(6) "&cong;"
216  ["©"]=>
217  string(6) "&copy;"
218  ["↵"]=>
219  string(7) "&crarr;"
220  ["∪"]=>
221  string(5) "&cup;"
222  ["¤"]=>
223  string(8) "&curren;"
224  ["⇓"]=>
225  string(6) "&dArr;"
226  ["†"]=>
227  string(8) "&dagger;"
228  ["↓"]=>
229  string(6) "&darr;"
230  ["°"]=>
231  string(5) "&deg;"
232  ["δ"]=>
233  string(7) "&delta;"
234  ["♦"]=>
235  string(7) "&diams;"
236  ["÷"]=>
237  string(8) "&divide;"
238  ["é"]=>
239  string(8) "&eacute;"
240  ["ê"]=>
241  string(7) "&ecirc;"
242  ["è"]=>
243  string(8) "&egrave;"
244  ["∅"]=>
245  string(7) "&empty;"
246  [" "]=>
247  string(6) "&emsp;"
248  [" "]=>
249  string(6) "&ensp;"
250  ["ε"]=>
251  string(9) "&epsilon;"
252  ["≡"]=>
253  string(7) "&equiv;"
254  ["η"]=>
255  string(5) "&eta;"
256  ["ð"]=>
257  string(5) "&eth;"
258  ["ë"]=>
259  string(6) "&euml;"
260  ["€"]=>
261  string(6) "&euro;"
262  ["∃"]=>
263  string(7) "&exist;"
264  ["ƒ"]=>
265  string(6) "&fnof;"
266  ["∀"]=>
267  string(8) "&forall;"
268  ["½"]=>
269  string(8) "&frac12;"
270  ["¼"]=>
271  string(8) "&frac14;"
272  ["¾"]=>
273  string(8) "&frac34;"
274  ["⁄"]=>
275  string(7) "&frasl;"
276  ["γ"]=>
277  string(7) "&gamma;"
278  ["≥"]=>
279  string(4) "&ge;"
280  [">"]=>
281  string(4) "&gt;"
282  ["⇔"]=>
283  string(6) "&hArr;"
284  ["↔"]=>
285  string(6) "&harr;"
286  ["♥"]=>
287  string(8) "&hearts;"
288  ["…"]=>
289  string(8) "&hellip;"
290  ["í"]=>
291  string(8) "&iacute;"
292  ["î"]=>
293  string(7) "&icirc;"
294  ["¡"]=>
295  string(7) "&iexcl;"
296  ["ì"]=>
297  string(8) "&igrave;"
298  ["ℑ"]=>
299  string(7) "&image;"
300  ["∞"]=>
301  string(7) "&infin;"
302  ["∫"]=>
303  string(5) "&int;"
304  ["ι"]=>
305  string(6) "&iota;"
306  ["¿"]=>
307  string(8) "&iquest;"
308  ["∈"]=>
309  string(6) "&isin;"
310  ["ï"]=>
311  string(6) "&iuml;"
312  ["κ"]=>
313  string(7) "&kappa;"
314  ["⇐"]=>
315  string(6) "&lArr;"
316  ["λ"]=>
317  string(8) "&lambda;"
318  ["〈"]=>
319  string(6) "&lang;"
320  ["«"]=>
321  string(7) "&laquo;"
322  ["←"]=>
323  string(6) "&larr;"
324  ["⌈"]=>
325  string(7) "&lceil;"
326  ["“"]=>
327  string(7) "&ldquo;"
328  ["≤"]=>
329  string(4) "&le;"
330  ["⌊"]=>
331  string(8) "&lfloor;"
332  ["∗"]=>
333  string(8) "&lowast;"
334  ["◊"]=>
335  string(5) "&loz;"
336  ["‎"]=>
337  string(5) "&lrm;"
338  ["‹"]=>
339  string(8) "&lsaquo;"
340  ["‘"]=>
341  string(7) "&lsquo;"
342  ["<"]=>
343  string(4) "&lt;"
344  ["¯"]=>
345  string(6) "&macr;"
346  ["—"]=>
347  string(7) "&mdash;"
348  ["µ"]=>
349  string(7) "&micro;"
350  ["·"]=>
351  string(8) "&middot;"
352  ["−"]=>
353  string(7) "&minus;"
354  ["μ"]=>
355  string(4) "&mu;"
356  ["∇"]=>
357  string(7) "&nabla;"
358  [" "]=>
359  string(6) "&nbsp;"
360  ["–"]=>
361  string(7) "&ndash;"
362  ["≠"]=>
363  string(4) "&ne;"
364  ["∋"]=>
365  string(4) "&ni;"
366  ["¬"]=>
367  string(5) "&not;"
368  ["∉"]=>
369  string(7) "&notin;"
370  ["⊄"]=>
371  string(6) "&nsub;"
372  ["ñ"]=>
373  string(8) "&ntilde;"
374  ["ν"]=>
375  string(4) "&nu;"
376  ["ó"]=>
377  string(8) "&oacute;"
378  ["ô"]=>
379  string(7) "&ocirc;"
380  ["œ"]=>
381  string(7) "&oelig;"
382  ["ò"]=>
383  string(8) "&ograve;"
384  ["‾"]=>
385  string(7) "&oline;"
386  ["ω"]=>
387  string(7) "&omega;"
388  ["ο"]=>
389  string(9) "&omicron;"
390  ["⊕"]=>
391  string(7) "&oplus;"
392  ["∨"]=>
393  string(4) "&or;"
394  ["ª"]=>
395  string(6) "&ordf;"
396  ["º"]=>
397  string(6) "&ordm;"
398  ["ø"]=>
399  string(8) "&oslash;"
400  ["õ"]=>
401  string(8) "&otilde;"
402  ["⊗"]=>
403  string(8) "&otimes;"
404  ["ö"]=>
405  string(6) "&ouml;"
406  ["¶"]=>
407  string(6) "&para;"
408  ["∂"]=>
409  string(6) "&part;"
410  ["‰"]=>
411  string(8) "&permil;"
412  ["⊥"]=>
413  string(6) "&perp;"
414  ["φ"]=>
415  string(5) "&phi;"
416  ["π"]=>
417  string(4) "&pi;"
418  ["ϖ"]=>
419  string(5) "&piv;"
420  ["±"]=>
421  string(8) "&plusmn;"
422  ["£"]=>
423  string(7) "&pound;"
424  ["′"]=>
425  string(7) "&prime;"
426  ["∏"]=>
427  string(6) "&prod;"
428  ["∝"]=>
429  string(6) "&prop;"
430  ["ψ"]=>
431  string(5) "&psi;"
432  ["""]=>
433  string(6) "&quot;"
434  ["⇒"]=>
435  string(6) "&rArr;"
436  ["√"]=>
437  string(7) "&radic;"
438  ["〉"]=>
439  string(6) "&rang;"
440  ["»"]=>
441  string(7) "&raquo;"
442  ["→"]=>
443  string(6) "&rarr;"
444  ["⌉"]=>
445  string(7) "&rceil;"
446  ["”"]=>
447  string(7) "&rdquo;"
448  ["ℜ"]=>
449  string(6) "&real;"
450  ["®"]=>
451  string(5) "&reg;"
452  ["⌋"]=>
453  string(8) "&rfloor;"
454  ["ρ"]=>
455  string(5) "&rho;"
456  ["‏"]=>
457  string(5) "&rlm;"
458  ["›"]=>
459  string(8) "&rsaquo;"
460  ["’"]=>
461  string(7) "&rsquo;"
462  ["‚"]=>
463  string(7) "&sbquo;"
464  ["š"]=>
465  string(8) "&scaron;"
466  ["⋅"]=>
467  string(6) "&sdot;"
468  ["§"]=>
469  string(6) "&sect;"
470  ["­"]=>
471  string(5) "&shy;"
472  ["σ"]=>
473  string(7) "&sigma;"
474  ["ς"]=>
475  string(8) "&sigmaf;"
476  ["∼"]=>
477  string(5) "&sim;"
478  ["♠"]=>
479  string(8) "&spades;"
480  ["⊂"]=>
481  string(5) "&sub;"
482  ["⊆"]=>
483  string(6) "&sube;"
484  ["∑"]=>
485  string(5) "&sum;"
486  ["¹"]=>
487  string(6) "&sup1;"
488  ["²"]=>
489  string(6) "&sup2;"
490  ["³"]=>
491  string(6) "&sup3;"
492  ["⊃"]=>
493  string(5) "&sup;"
494  ["⊇"]=>
495  string(6) "&supe;"
496  ["ß"]=>
497  string(7) "&szlig;"
498  ["τ"]=>
499  string(5) "&tau;"
500  ["∴"]=>
501  string(8) "&there4;"
502  ["θ"]=>
503  string(7) "&theta;"
504  ["ϑ"]=>
505  string(10) "&thetasym;"
506  [" "]=>
507  string(8) "&thinsp;"
508  ["þ"]=>
509  string(7) "&thorn;"
510  ["˜"]=>
511  string(7) "&tilde;"
512  ["×"]=>
513  string(7) "&times;"
514  ["™"]=>
515  string(7) "&trade;"
516  ["⇑"]=>
517  string(6) "&uArr;"
518  ["ú"]=>
519  string(8) "&uacute;"
520  ["↑"]=>
521  string(6) "&uarr;"
522  ["û"]=>
523  string(7) "&ucirc;"
524  ["ù"]=>
525  string(8) "&ugrave;"
526  ["¨"]=>
527  string(5) "&uml;"
528  ["ϒ"]=>
529  string(7) "&upsih;"
530  ["υ"]=>
531  string(9) "&upsilon;"
532  ["ü"]=>
533  string(6) "&uuml;"
534  ["℘"]=>
535  string(8) "&weierp;"
536  ["ξ"]=>
537  string(4) "&xi;"
538  ["ý"]=>
539  string(8) "&yacute;"
540  ["¥"]=>
541  string(5) "&yen;"
542  ["ÿ"]=>
543  string(6) "&yuml;"
544  ["ζ"]=>
545  string(6) "&zeta;"
546  ["‍"]=>
547  string(5) "&zwj;"
548  ["‌"]=>
549  string(6) "&zwnj;"
550}
551-- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
552array(253) {
553  ["'"]=>
554  string(6) "&#039;"
555  ["Æ"]=>
556  string(7) "&AElig;"
557  ["Á"]=>
558  string(8) "&Aacute;"
559  ["Â"]=>
560  string(7) "&Acirc;"
561  ["À"]=>
562  string(8) "&Agrave;"
563  ["Α"]=>
564  string(7) "&Alpha;"
565  ["Å"]=>
566  string(7) "&Aring;"
567  ["Ã"]=>
568  string(8) "&Atilde;"
569  ["Ä"]=>
570  string(6) "&Auml;"
571  ["Β"]=>
572  string(6) "&Beta;"
573  ["Ç"]=>
574  string(8) "&Ccedil;"
575  ["Χ"]=>
576  string(5) "&Chi;"
577  ["‡"]=>
578  string(8) "&Dagger;"
579  ["Δ"]=>
580  string(7) "&Delta;"
581  ["Ð"]=>
582  string(5) "&ETH;"
583  ["É"]=>
584  string(8) "&Eacute;"
585  ["Ê"]=>
586  string(7) "&Ecirc;"
587  ["È"]=>
588  string(8) "&Egrave;"
589  ["Ε"]=>
590  string(9) "&Epsilon;"
591  ["Η"]=>
592  string(5) "&Eta;"
593  ["Ë"]=>
594  string(6) "&Euml;"
595  ["Γ"]=>
596  string(7) "&Gamma;"
597  ["Í"]=>
598  string(8) "&Iacute;"
599  ["Î"]=>
600  string(7) "&Icirc;"
601  ["Ì"]=>
602  string(8) "&Igrave;"
603  ["Ι"]=>
604  string(6) "&Iota;"
605  ["Ï"]=>
606  string(6) "&Iuml;"
607  ["Κ"]=>
608  string(7) "&Kappa;"
609  ["Λ"]=>
610  string(8) "&Lambda;"
611  ["Μ"]=>
612  string(4) "&Mu;"
613  ["Ñ"]=>
614  string(8) "&Ntilde;"
615  ["Ν"]=>
616  string(4) "&Nu;"
617  ["Œ"]=>
618  string(7) "&OElig;"
619  ["Ó"]=>
620  string(8) "&Oacute;"
621  ["Ô"]=>
622  string(7) "&Ocirc;"
623  ["Ò"]=>
624  string(8) "&Ograve;"
625  ["Ω"]=>
626  string(7) "&Omega;"
627  ["Ο"]=>
628  string(9) "&Omicron;"
629  ["Ø"]=>
630  string(8) "&Oslash;"
631  ["Õ"]=>
632  string(8) "&Otilde;"
633  ["Ö"]=>
634  string(6) "&Ouml;"
635  ["Φ"]=>
636  string(5) "&Phi;"
637  ["Π"]=>
638  string(4) "&Pi;"
639  ["″"]=>
640  string(7) "&Prime;"
641  ["Ψ"]=>
642  string(5) "&Psi;"
643  ["Ρ"]=>
644  string(5) "&Rho;"
645  ["Š"]=>
646  string(8) "&Scaron;"
647  ["Σ"]=>
648  string(7) "&Sigma;"
649  ["Þ"]=>
650  string(7) "&THORN;"
651  ["Τ"]=>
652  string(5) "&Tau;"
653  ["Θ"]=>
654  string(7) "&Theta;"
655  ["Ú"]=>
656  string(8) "&Uacute;"
657  ["Û"]=>
658  string(7) "&Ucirc;"
659  ["Ù"]=>
660  string(8) "&Ugrave;"
661  ["Υ"]=>
662  string(9) "&Upsilon;"
663  ["Ü"]=>
664  string(6) "&Uuml;"
665  ["Ξ"]=>
666  string(4) "&Xi;"
667  ["Ý"]=>
668  string(8) "&Yacute;"
669  ["Ÿ"]=>
670  string(6) "&Yuml;"
671  ["Ζ"]=>
672  string(6) "&Zeta;"
673  ["á"]=>
674  string(8) "&aacute;"
675  ["â"]=>
676  string(7) "&acirc;"
677  ["´"]=>
678  string(7) "&acute;"
679  ["æ"]=>
680  string(7) "&aelig;"
681  ["à"]=>
682  string(8) "&agrave;"
683  ["ℵ"]=>
684  string(9) "&alefsym;"
685  ["α"]=>
686  string(7) "&alpha;"
687  ["&"]=>
688  string(5) "&amp;"
689  ["∧"]=>
690  string(5) "&and;"
691  ["∠"]=>
692  string(5) "&ang;"
693  ["å"]=>
694  string(7) "&aring;"
695  ["≈"]=>
696  string(7) "&asymp;"
697  ["ã"]=>
698  string(8) "&atilde;"
699  ["ä"]=>
700  string(6) "&auml;"
701  ["„"]=>
702  string(7) "&bdquo;"
703  ["β"]=>
704  string(6) "&beta;"
705  ["¦"]=>
706  string(8) "&brvbar;"
707  ["•"]=>
708  string(6) "&bull;"
709  ["∩"]=>
710  string(5) "&cap;"
711  ["ç"]=>
712  string(8) "&ccedil;"
713  ["¸"]=>
714  string(7) "&cedil;"
715  ["¢"]=>
716  string(6) "&cent;"
717  ["χ"]=>
718  string(5) "&chi;"
719  ["ˆ"]=>
720  string(6) "&circ;"
721  ["♣"]=>
722  string(7) "&clubs;"
723  ["≅"]=>
724  string(6) "&cong;"
725  ["©"]=>
726  string(6) "&copy;"
727  ["↵"]=>
728  string(7) "&crarr;"
729  ["∪"]=>
730  string(5) "&cup;"
731  ["¤"]=>
732  string(8) "&curren;"
733  ["⇓"]=>
734  string(6) "&dArr;"
735  ["†"]=>
736  string(8) "&dagger;"
737  ["↓"]=>
738  string(6) "&darr;"
739  ["°"]=>
740  string(5) "&deg;"
741  ["δ"]=>
742  string(7) "&delta;"
743  ["♦"]=>
744  string(7) "&diams;"
745  ["÷"]=>
746  string(8) "&divide;"
747  ["é"]=>
748  string(8) "&eacute;"
749  ["ê"]=>
750  string(7) "&ecirc;"
751  ["è"]=>
752  string(8) "&egrave;"
753  ["∅"]=>
754  string(7) "&empty;"
755  [" "]=>
756  string(6) "&emsp;"
757  [" "]=>
758  string(6) "&ensp;"
759  ["ε"]=>
760  string(9) "&epsilon;"
761  ["≡"]=>
762  string(7) "&equiv;"
763  ["η"]=>
764  string(5) "&eta;"
765  ["ð"]=>
766  string(5) "&eth;"
767  ["ë"]=>
768  string(6) "&euml;"
769  ["€"]=>
770  string(6) "&euro;"
771  ["∃"]=>
772  string(7) "&exist;"
773  ["ƒ"]=>
774  string(6) "&fnof;"
775  ["∀"]=>
776  string(8) "&forall;"
777  ["½"]=>
778  string(8) "&frac12;"
779  ["¼"]=>
780  string(8) "&frac14;"
781  ["¾"]=>
782  string(8) "&frac34;"
783  ["⁄"]=>
784  string(7) "&frasl;"
785  ["γ"]=>
786  string(7) "&gamma;"
787  ["≥"]=>
788  string(4) "&ge;"
789  [">"]=>
790  string(4) "&gt;"
791  ["⇔"]=>
792  string(6) "&hArr;"
793  ["↔"]=>
794  string(6) "&harr;"
795  ["♥"]=>
796  string(8) "&hearts;"
797  ["…"]=>
798  string(8) "&hellip;"
799  ["í"]=>
800  string(8) "&iacute;"
801  ["î"]=>
802  string(7) "&icirc;"
803  ["¡"]=>
804  string(7) "&iexcl;"
805  ["ì"]=>
806  string(8) "&igrave;"
807  ["ℑ"]=>
808  string(7) "&image;"
809  ["∞"]=>
810  string(7) "&infin;"
811  ["∫"]=>
812  string(5) "&int;"
813  ["ι"]=>
814  string(6) "&iota;"
815  ["¿"]=>
816  string(8) "&iquest;"
817  ["∈"]=>
818  string(6) "&isin;"
819  ["ï"]=>
820  string(6) "&iuml;"
821  ["κ"]=>
822  string(7) "&kappa;"
823  ["⇐"]=>
824  string(6) "&lArr;"
825  ["λ"]=>
826  string(8) "&lambda;"
827  ["〈"]=>
828  string(6) "&lang;"
829  ["«"]=>
830  string(7) "&laquo;"
831  ["←"]=>
832  string(6) "&larr;"
833  ["⌈"]=>
834  string(7) "&lceil;"
835  ["“"]=>
836  string(7) "&ldquo;"
837  ["≤"]=>
838  string(4) "&le;"
839  ["⌊"]=>
840  string(8) "&lfloor;"
841  ["∗"]=>
842  string(8) "&lowast;"
843  ["◊"]=>
844  string(5) "&loz;"
845  ["‎"]=>
846  string(5) "&lrm;"
847  ["‹"]=>
848  string(8) "&lsaquo;"
849  ["‘"]=>
850  string(7) "&lsquo;"
851  ["<"]=>
852  string(4) "&lt;"
853  ["¯"]=>
854  string(6) "&macr;"
855  ["—"]=>
856  string(7) "&mdash;"
857  ["µ"]=>
858  string(7) "&micro;"
859  ["·"]=>
860  string(8) "&middot;"
861  ["−"]=>
862  string(7) "&minus;"
863  ["μ"]=>
864  string(4) "&mu;"
865  ["∇"]=>
866  string(7) "&nabla;"
867  [" "]=>
868  string(6) "&nbsp;"
869  ["–"]=>
870  string(7) "&ndash;"
871  ["≠"]=>
872  string(4) "&ne;"
873  ["∋"]=>
874  string(4) "&ni;"
875  ["¬"]=>
876  string(5) "&not;"
877  ["∉"]=>
878  string(7) "&notin;"
879  ["⊄"]=>
880  string(6) "&nsub;"
881  ["ñ"]=>
882  string(8) "&ntilde;"
883  ["ν"]=>
884  string(4) "&nu;"
885  ["ó"]=>
886  string(8) "&oacute;"
887  ["ô"]=>
888  string(7) "&ocirc;"
889  ["œ"]=>
890  string(7) "&oelig;"
891  ["ò"]=>
892  string(8) "&ograve;"
893  ["‾"]=>
894  string(7) "&oline;"
895  ["ω"]=>
896  string(7) "&omega;"
897  ["ο"]=>
898  string(9) "&omicron;"
899  ["⊕"]=>
900  string(7) "&oplus;"
901  ["∨"]=>
902  string(4) "&or;"
903  ["ª"]=>
904  string(6) "&ordf;"
905  ["º"]=>
906  string(6) "&ordm;"
907  ["ø"]=>
908  string(8) "&oslash;"
909  ["õ"]=>
910  string(8) "&otilde;"
911  ["⊗"]=>
912  string(8) "&otimes;"
913  ["ö"]=>
914  string(6) "&ouml;"
915  ["¶"]=>
916  string(6) "&para;"
917  ["∂"]=>
918  string(6) "&part;"
919  ["‰"]=>
920  string(8) "&permil;"
921  ["⊥"]=>
922  string(6) "&perp;"
923  ["φ"]=>
924  string(5) "&phi;"
925  ["π"]=>
926  string(4) "&pi;"
927  ["ϖ"]=>
928  string(5) "&piv;"
929  ["±"]=>
930  string(8) "&plusmn;"
931  ["£"]=>
932  string(7) "&pound;"
933  ["′"]=>
934  string(7) "&prime;"
935  ["∏"]=>
936  string(6) "&prod;"
937  ["∝"]=>
938  string(6) "&prop;"
939  ["ψ"]=>
940  string(5) "&psi;"
941  ["""]=>
942  string(6) "&quot;"
943  ["⇒"]=>
944  string(6) "&rArr;"
945  ["√"]=>
946  string(7) "&radic;"
947  ["〉"]=>
948  string(6) "&rang;"
949  ["»"]=>
950  string(7) "&raquo;"
951  ["→"]=>
952  string(6) "&rarr;"
953  ["⌉"]=>
954  string(7) "&rceil;"
955  ["”"]=>
956  string(7) "&rdquo;"
957  ["ℜ"]=>
958  string(6) "&real;"
959  ["®"]=>
960  string(5) "&reg;"
961  ["⌋"]=>
962  string(8) "&rfloor;"
963  ["ρ"]=>
964  string(5) "&rho;"
965  ["‏"]=>
966  string(5) "&rlm;"
967  ["›"]=>
968  string(8) "&rsaquo;"
969  ["’"]=>
970  string(7) "&rsquo;"
971  ["‚"]=>
972  string(7) "&sbquo;"
973  ["š"]=>
974  string(8) "&scaron;"
975  ["⋅"]=>
976  string(6) "&sdot;"
977  ["§"]=>
978  string(6) "&sect;"
979  ["­"]=>
980  string(5) "&shy;"
981  ["σ"]=>
982  string(7) "&sigma;"
983  ["ς"]=>
984  string(8) "&sigmaf;"
985  ["∼"]=>
986  string(5) "&sim;"
987  ["♠"]=>
988  string(8) "&spades;"
989  ["⊂"]=>
990  string(5) "&sub;"
991  ["⊆"]=>
992  string(6) "&sube;"
993  ["∑"]=>
994  string(5) "&sum;"
995  ["¹"]=>
996  string(6) "&sup1;"
997  ["²"]=>
998  string(6) "&sup2;"
999  ["³"]=>
1000  string(6) "&sup3;"
1001  ["⊃"]=>
1002  string(5) "&sup;"
1003  ["⊇"]=>
1004  string(6) "&supe;"
1005  ["ß"]=>
1006  string(7) "&szlig;"
1007  ["τ"]=>
1008  string(5) "&tau;"
1009  ["∴"]=>
1010  string(8) "&there4;"
1011  ["θ"]=>
1012  string(7) "&theta;"
1013  ["ϑ"]=>
1014  string(10) "&thetasym;"
1015  [" "]=>
1016  string(8) "&thinsp;"
1017  ["þ"]=>
1018  string(7) "&thorn;"
1019  ["˜"]=>
1020  string(7) "&tilde;"
1021  ["×"]=>
1022  string(7) "&times;"
1023  ["™"]=>
1024  string(7) "&trade;"
1025  ["⇑"]=>
1026  string(6) "&uArr;"
1027  ["ú"]=>
1028  string(8) "&uacute;"
1029  ["↑"]=>
1030  string(6) "&uarr;"
1031  ["û"]=>
1032  string(7) "&ucirc;"
1033  ["ù"]=>
1034  string(8) "&ugrave;"
1035  ["¨"]=>
1036  string(5) "&uml;"
1037  ["ϒ"]=>
1038  string(7) "&upsih;"
1039  ["υ"]=>
1040  string(9) "&upsilon;"
1041  ["ü"]=>
1042  string(6) "&uuml;"
1043  ["℘"]=>
1044  string(8) "&weierp;"
1045  ["ξ"]=>
1046  string(4) "&xi;"
1047  ["ý"]=>
1048  string(8) "&yacute;"
1049  ["¥"]=>
1050  string(5) "&yen;"
1051  ["ÿ"]=>
1052  string(6) "&yuml;"
1053  ["ζ"]=>
1054  string(6) "&zeta;"
1055  ["‍"]=>
1056  string(5) "&zwj;"
1057  ["‌"]=>
1058  string(6) "&zwnj;"
1059}
1060-- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
1061array(251) {
1062  ["Æ"]=>
1063  string(7) "&AElig;"
1064  ["Á"]=>
1065  string(8) "&Aacute;"
1066  ["Â"]=>
1067  string(7) "&Acirc;"
1068  ["À"]=>
1069  string(8) "&Agrave;"
1070  ["Α"]=>
1071  string(7) "&Alpha;"
1072  ["Å"]=>
1073  string(7) "&Aring;"
1074  ["Ã"]=>
1075  string(8) "&Atilde;"
1076  ["Ä"]=>
1077  string(6) "&Auml;"
1078  ["Β"]=>
1079  string(6) "&Beta;"
1080  ["Ç"]=>
1081  string(8) "&Ccedil;"
1082  ["Χ"]=>
1083  string(5) "&Chi;"
1084  ["‡"]=>
1085  string(8) "&Dagger;"
1086  ["Δ"]=>
1087  string(7) "&Delta;"
1088  ["Ð"]=>
1089  string(5) "&ETH;"
1090  ["É"]=>
1091  string(8) "&Eacute;"
1092  ["Ê"]=>
1093  string(7) "&Ecirc;"
1094  ["È"]=>
1095  string(8) "&Egrave;"
1096  ["Ε"]=>
1097  string(9) "&Epsilon;"
1098  ["Η"]=>
1099  string(5) "&Eta;"
1100  ["Ë"]=>
1101  string(6) "&Euml;"
1102  ["Γ"]=>
1103  string(7) "&Gamma;"
1104  ["Í"]=>
1105  string(8) "&Iacute;"
1106  ["Î"]=>
1107  string(7) "&Icirc;"
1108  ["Ì"]=>
1109  string(8) "&Igrave;"
1110  ["Ι"]=>
1111  string(6) "&Iota;"
1112  ["Ï"]=>
1113  string(6) "&Iuml;"
1114  ["Κ"]=>
1115  string(7) "&Kappa;"
1116  ["Λ"]=>
1117  string(8) "&Lambda;"
1118  ["Μ"]=>
1119  string(4) "&Mu;"
1120  ["Ñ"]=>
1121  string(8) "&Ntilde;"
1122  ["Ν"]=>
1123  string(4) "&Nu;"
1124  ["Œ"]=>
1125  string(7) "&OElig;"
1126  ["Ó"]=>
1127  string(8) "&Oacute;"
1128  ["Ô"]=>
1129  string(7) "&Ocirc;"
1130  ["Ò"]=>
1131  string(8) "&Ograve;"
1132  ["Ω"]=>
1133  string(7) "&Omega;"
1134  ["Ο"]=>
1135  string(9) "&Omicron;"
1136  ["Ø"]=>
1137  string(8) "&Oslash;"
1138  ["Õ"]=>
1139  string(8) "&Otilde;"
1140  ["Ö"]=>
1141  string(6) "&Ouml;"
1142  ["Φ"]=>
1143  string(5) "&Phi;"
1144  ["Π"]=>
1145  string(4) "&Pi;"
1146  ["″"]=>
1147  string(7) "&Prime;"
1148  ["Ψ"]=>
1149  string(5) "&Psi;"
1150  ["Ρ"]=>
1151  string(5) "&Rho;"
1152  ["Š"]=>
1153  string(8) "&Scaron;"
1154  ["Σ"]=>
1155  string(7) "&Sigma;"
1156  ["Þ"]=>
1157  string(7) "&THORN;"
1158  ["Τ"]=>
1159  string(5) "&Tau;"
1160  ["Θ"]=>
1161  string(7) "&Theta;"
1162  ["Ú"]=>
1163  string(8) "&Uacute;"
1164  ["Û"]=>
1165  string(7) "&Ucirc;"
1166  ["Ù"]=>
1167  string(8) "&Ugrave;"
1168  ["Υ"]=>
1169  string(9) "&Upsilon;"
1170  ["Ü"]=>
1171  string(6) "&Uuml;"
1172  ["Ξ"]=>
1173  string(4) "&Xi;"
1174  ["Ý"]=>
1175  string(8) "&Yacute;"
1176  ["Ÿ"]=>
1177  string(6) "&Yuml;"
1178  ["Ζ"]=>
1179  string(6) "&Zeta;"
1180  ["á"]=>
1181  string(8) "&aacute;"
1182  ["â"]=>
1183  string(7) "&acirc;"
1184  ["´"]=>
1185  string(7) "&acute;"
1186  ["æ"]=>
1187  string(7) "&aelig;"
1188  ["à"]=>
1189  string(8) "&agrave;"
1190  ["ℵ"]=>
1191  string(9) "&alefsym;"
1192  ["α"]=>
1193  string(7) "&alpha;"
1194  ["&"]=>
1195  string(5) "&amp;"
1196  ["∧"]=>
1197  string(5) "&and;"
1198  ["∠"]=>
1199  string(5) "&ang;"
1200  ["å"]=>
1201  string(7) "&aring;"
1202  ["≈"]=>
1203  string(7) "&asymp;"
1204  ["ã"]=>
1205  string(8) "&atilde;"
1206  ["ä"]=>
1207  string(6) "&auml;"
1208  ["„"]=>
1209  string(7) "&bdquo;"
1210  ["β"]=>
1211  string(6) "&beta;"
1212  ["¦"]=>
1213  string(8) "&brvbar;"
1214  ["•"]=>
1215  string(6) "&bull;"
1216  ["∩"]=>
1217  string(5) "&cap;"
1218  ["ç"]=>
1219  string(8) "&ccedil;"
1220  ["¸"]=>
1221  string(7) "&cedil;"
1222  ["¢"]=>
1223  string(6) "&cent;"
1224  ["χ"]=>
1225  string(5) "&chi;"
1226  ["ˆ"]=>
1227  string(6) "&circ;"
1228  ["♣"]=>
1229  string(7) "&clubs;"
1230  ["≅"]=>
1231  string(6) "&cong;"
1232  ["©"]=>
1233  string(6) "&copy;"
1234  ["↵"]=>
1235  string(7) "&crarr;"
1236  ["∪"]=>
1237  string(5) "&cup;"
1238  ["¤"]=>
1239  string(8) "&curren;"
1240  ["⇓"]=>
1241  string(6) "&dArr;"
1242  ["†"]=>
1243  string(8) "&dagger;"
1244  ["↓"]=>
1245  string(6) "&darr;"
1246  ["°"]=>
1247  string(5) "&deg;"
1248  ["δ"]=>
1249  string(7) "&delta;"
1250  ["♦"]=>
1251  string(7) "&diams;"
1252  ["÷"]=>
1253  string(8) "&divide;"
1254  ["é"]=>
1255  string(8) "&eacute;"
1256  ["ê"]=>
1257  string(7) "&ecirc;"
1258  ["è"]=>
1259  string(8) "&egrave;"
1260  ["∅"]=>
1261  string(7) "&empty;"
1262  [" "]=>
1263  string(6) "&emsp;"
1264  [" "]=>
1265  string(6) "&ensp;"
1266  ["ε"]=>
1267  string(9) "&epsilon;"
1268  ["≡"]=>
1269  string(7) "&equiv;"
1270  ["η"]=>
1271  string(5) "&eta;"
1272  ["ð"]=>
1273  string(5) "&eth;"
1274  ["ë"]=>
1275  string(6) "&euml;"
1276  ["€"]=>
1277  string(6) "&euro;"
1278  ["∃"]=>
1279  string(7) "&exist;"
1280  ["ƒ"]=>
1281  string(6) "&fnof;"
1282  ["∀"]=>
1283  string(8) "&forall;"
1284  ["½"]=>
1285  string(8) "&frac12;"
1286  ["¼"]=>
1287  string(8) "&frac14;"
1288  ["¾"]=>
1289  string(8) "&frac34;"
1290  ["⁄"]=>
1291  string(7) "&frasl;"
1292  ["γ"]=>
1293  string(7) "&gamma;"
1294  ["≥"]=>
1295  string(4) "&ge;"
1296  [">"]=>
1297  string(4) "&gt;"
1298  ["⇔"]=>
1299  string(6) "&hArr;"
1300  ["↔"]=>
1301  string(6) "&harr;"
1302  ["♥"]=>
1303  string(8) "&hearts;"
1304  ["…"]=>
1305  string(8) "&hellip;"
1306  ["í"]=>
1307  string(8) "&iacute;"
1308  ["î"]=>
1309  string(7) "&icirc;"
1310  ["¡"]=>
1311  string(7) "&iexcl;"
1312  ["ì"]=>
1313  string(8) "&igrave;"
1314  ["ℑ"]=>
1315  string(7) "&image;"
1316  ["∞"]=>
1317  string(7) "&infin;"
1318  ["∫"]=>
1319  string(5) "&int;"
1320  ["ι"]=>
1321  string(6) "&iota;"
1322  ["¿"]=>
1323  string(8) "&iquest;"
1324  ["∈"]=>
1325  string(6) "&isin;"
1326  ["ï"]=>
1327  string(6) "&iuml;"
1328  ["κ"]=>
1329  string(7) "&kappa;"
1330  ["⇐"]=>
1331  string(6) "&lArr;"
1332  ["λ"]=>
1333  string(8) "&lambda;"
1334  ["〈"]=>
1335  string(6) "&lang;"
1336  ["«"]=>
1337  string(7) "&laquo;"
1338  ["←"]=>
1339  string(6) "&larr;"
1340  ["⌈"]=>
1341  string(7) "&lceil;"
1342  ["“"]=>
1343  string(7) "&ldquo;"
1344  ["≤"]=>
1345  string(4) "&le;"
1346  ["⌊"]=>
1347  string(8) "&lfloor;"
1348  ["∗"]=>
1349  string(8) "&lowast;"
1350  ["◊"]=>
1351  string(5) "&loz;"
1352  ["‎"]=>
1353  string(5) "&lrm;"
1354  ["‹"]=>
1355  string(8) "&lsaquo;"
1356  ["‘"]=>
1357  string(7) "&lsquo;"
1358  ["<"]=>
1359  string(4) "&lt;"
1360  ["¯"]=>
1361  string(6) "&macr;"
1362  ["—"]=>
1363  string(7) "&mdash;"
1364  ["µ"]=>
1365  string(7) "&micro;"
1366  ["·"]=>
1367  string(8) "&middot;"
1368  ["−"]=>
1369  string(7) "&minus;"
1370  ["μ"]=>
1371  string(4) "&mu;"
1372  ["∇"]=>
1373  string(7) "&nabla;"
1374  [" "]=>
1375  string(6) "&nbsp;"
1376  ["–"]=>
1377  string(7) "&ndash;"
1378  ["≠"]=>
1379  string(4) "&ne;"
1380  ["∋"]=>
1381  string(4) "&ni;"
1382  ["¬"]=>
1383  string(5) "&not;"
1384  ["∉"]=>
1385  string(7) "&notin;"
1386  ["⊄"]=>
1387  string(6) "&nsub;"
1388  ["ñ"]=>
1389  string(8) "&ntilde;"
1390  ["ν"]=>
1391  string(4) "&nu;"
1392  ["ó"]=>
1393  string(8) "&oacute;"
1394  ["ô"]=>
1395  string(7) "&ocirc;"
1396  ["œ"]=>
1397  string(7) "&oelig;"
1398  ["ò"]=>
1399  string(8) "&ograve;"
1400  ["‾"]=>
1401  string(7) "&oline;"
1402  ["ω"]=>
1403  string(7) "&omega;"
1404  ["ο"]=>
1405  string(9) "&omicron;"
1406  ["⊕"]=>
1407  string(7) "&oplus;"
1408  ["∨"]=>
1409  string(4) "&or;"
1410  ["ª"]=>
1411  string(6) "&ordf;"
1412  ["º"]=>
1413  string(6) "&ordm;"
1414  ["ø"]=>
1415  string(8) "&oslash;"
1416  ["õ"]=>
1417  string(8) "&otilde;"
1418  ["⊗"]=>
1419  string(8) "&otimes;"
1420  ["ö"]=>
1421  string(6) "&ouml;"
1422  ["¶"]=>
1423  string(6) "&para;"
1424  ["∂"]=>
1425  string(6) "&part;"
1426  ["‰"]=>
1427  string(8) "&permil;"
1428  ["⊥"]=>
1429  string(6) "&perp;"
1430  ["φ"]=>
1431  string(5) "&phi;"
1432  ["π"]=>
1433  string(4) "&pi;"
1434  ["ϖ"]=>
1435  string(5) "&piv;"
1436  ["±"]=>
1437  string(8) "&plusmn;"
1438  ["£"]=>
1439  string(7) "&pound;"
1440  ["′"]=>
1441  string(7) "&prime;"
1442  ["∏"]=>
1443  string(6) "&prod;"
1444  ["∝"]=>
1445  string(6) "&prop;"
1446  ["ψ"]=>
1447  string(5) "&psi;"
1448  ["⇒"]=>
1449  string(6) "&rArr;"
1450  ["√"]=>
1451  string(7) "&radic;"
1452  ["〉"]=>
1453  string(6) "&rang;"
1454  ["»"]=>
1455  string(7) "&raquo;"
1456  ["→"]=>
1457  string(6) "&rarr;"
1458  ["⌉"]=>
1459  string(7) "&rceil;"
1460  ["”"]=>
1461  string(7) "&rdquo;"
1462  ["ℜ"]=>
1463  string(6) "&real;"
1464  ["®"]=>
1465  string(5) "&reg;"
1466  ["⌋"]=>
1467  string(8) "&rfloor;"
1468  ["ρ"]=>
1469  string(5) "&rho;"
1470  ["‏"]=>
1471  string(5) "&rlm;"
1472  ["›"]=>
1473  string(8) "&rsaquo;"
1474  ["’"]=>
1475  string(7) "&rsquo;"
1476  ["‚"]=>
1477  string(7) "&sbquo;"
1478  ["š"]=>
1479  string(8) "&scaron;"
1480  ["⋅"]=>
1481  string(6) "&sdot;"
1482  ["§"]=>
1483  string(6) "&sect;"
1484  ["­"]=>
1485  string(5) "&shy;"
1486  ["σ"]=>
1487  string(7) "&sigma;"
1488  ["ς"]=>
1489  string(8) "&sigmaf;"
1490  ["∼"]=>
1491  string(5) "&sim;"
1492  ["♠"]=>
1493  string(8) "&spades;"
1494  ["⊂"]=>
1495  string(5) "&sub;"
1496  ["⊆"]=>
1497  string(6) "&sube;"
1498  ["∑"]=>
1499  string(5) "&sum;"
1500  ["¹"]=>
1501  string(6) "&sup1;"
1502  ["²"]=>
1503  string(6) "&sup2;"
1504  ["³"]=>
1505  string(6) "&sup3;"
1506  ["⊃"]=>
1507  string(5) "&sup;"
1508  ["⊇"]=>
1509  string(6) "&supe;"
1510  ["ß"]=>
1511  string(7) "&szlig;"
1512  ["τ"]=>
1513  string(5) "&tau;"
1514  ["∴"]=>
1515  string(8) "&there4;"
1516  ["θ"]=>
1517  string(7) "&theta;"
1518  ["ϑ"]=>
1519  string(10) "&thetasym;"
1520  [" "]=>
1521  string(8) "&thinsp;"
1522  ["þ"]=>
1523  string(7) "&thorn;"
1524  ["˜"]=>
1525  string(7) "&tilde;"
1526  ["×"]=>
1527  string(7) "&times;"
1528  ["™"]=>
1529  string(7) "&trade;"
1530  ["⇑"]=>
1531  string(6) "&uArr;"
1532  ["ú"]=>
1533  string(8) "&uacute;"
1534  ["↑"]=>
1535  string(6) "&uarr;"
1536  ["û"]=>
1537  string(7) "&ucirc;"
1538  ["ù"]=>
1539  string(8) "&ugrave;"
1540  ["¨"]=>
1541  string(5) "&uml;"
1542  ["ϒ"]=>
1543  string(7) "&upsih;"
1544  ["υ"]=>
1545  string(9) "&upsilon;"
1546  ["ü"]=>
1547  string(6) "&uuml;"
1548  ["℘"]=>
1549  string(8) "&weierp;"
1550  ["ξ"]=>
1551  string(4) "&xi;"
1552  ["ý"]=>
1553  string(8) "&yacute;"
1554  ["¥"]=>
1555  string(5) "&yen;"
1556  ["ÿ"]=>
1557  string(6) "&yuml;"
1558  ["ζ"]=>
1559  string(6) "&zeta;"
1560  ["‍"]=>
1561  string(5) "&zwj;"
1562  ["‌"]=>
1563  string(6) "&zwnj;"
1564}
1565Done
1566