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