1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00
Files
archived-php-src/ext/standard/tests/strings/htmlentities12.phpt
2020-02-03 22:52:20 +01:00

15 lines
312 B
PHP

--TEST--
htmlentities() test 12 (default_charset / ISO-8859-1)
--INI--
output_handler=
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;"