mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
15 lines
315 B
PHP
15 lines
315 B
PHP
--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) "äöü"
|