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/htmlentities25.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

18 lines
372 B
PHP

--TEST--
htmlentities() should not be influenced by mb_internal_encoding()
--INI--
default_charset=
internal_encoding=
mbstring.internal_encoding=ISO-8859-1
--EXTENSIONS--
mbstring
--FILE--
<?php
var_dump(htmlentities('äöü'));
?>
--EXPECT--
Deprecated: PHP Startup: Use of mbstring.internal_encoding is deprecated in Unknown on line 0
string(18) "&auml;&ouml;&uuml;"