summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/htmlentities12.phpt
blob: 826706680d4f06cc528876168709fdc63ab8af0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
htmlentities() test 12 (default_charset / ISO-8859-1)
--INI--
output_handler=
mbstring.internal_encoding=pass
default_charset=ISO-8859-1
--FILE--
<?php
	print ini_get('default_charset')."\n";
	var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-1
string(18) "&auml;&ouml;&uuml;"