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/htmlentities07.phpt
Nikita Popov 39131219e8 Migrate more SKIPIF -> EXTENSIONS (#7139)
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
2021-06-11 12:58:44 +02:00

17 lines
343 B
PHP

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