Return to htmlentities01.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
1.1 misho 1: --TEST-- 2: htmlentities() test 1 (cp1252) 3: --INI-- 4: output_handler= 5: mbstring.internal_encoding=pass 6: --FILE-- 7: <?php 8: var_dump(htmlentities(b"\x82\x86\x99\x9f", ENT_QUOTES, 'cp1252')); 9: var_dump(htmlentities(b"\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, 'cp1252')); 10: ?> 11: --EXPECT-- 12: string(28) "‚†™Ÿ" 13: string(32) "€¢£¤¥"