1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00
Files
Jorg Adam Sowa 1e02099e6a ext/mbstring: Use internal_encoding INI setting instead of mb_internal_encoding() in tests (#19663)
Moves the usage of `mb_internal_encoding()` to INI section for the tests not testing the encoding/function itself, but the other mbstring/iconv functions.
2025-09-03 11:34:12 +01:00

16 lines
303 B
PHP

--TEST--
htmlentities() test 7 (mbstring / ISO-8859-1)
--INI--
output_handler=
internal_encoding=ISO-8859-1
--EXTENSIONS--
mbstring
--FILE--
<?php
print mb_internal_encoding()."\n";
var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-1
string(18) "&auml;&ouml;&uuml;"