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