1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +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
308 B
PHP

--TEST--
htmlentities() test 6 (mbstring / ISO-8859-15)
--INI--
output_handler=
internal_encoding=ISO-8859-15
--EXTENSIONS--
mbstring
--FILE--
<?php
print mb_internal_encoding()."\n";
var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-15
string(20) "&OElig;&oelig;&Yuml;"