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