summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/htmlentities12.phpt
blob: fdf52393f35105a0846606863acd64f38a0ca80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
htmlentities() test 12 (default_charset / ISO-8859-1)
--INI--
output_handler=
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;"