summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/htmlentities06.phpt
blob: 5027c0c19393291770905eecb2ca25d1ff3ad019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
htmlentities() test 6 (mbstring / ISO-8859-15)
--INI--
output_handler=
internal_encoding=ISO-8859-15
--SKIPIF--
<?php
	extension_loaded("mbstring") or die("skip mbstring not available\n");
--FILE--
<?php
	mb_internal_encoding('ISO-8859-15');
	print mb_internal_encoding()."\n";
	var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-15
string(20) "&OElig;&oelig;&Yuml;"