1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/standard/tests/strings/htmlentities25.phpt
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

20 lines
442 B
PHP

--TEST--
htmlentities() should not be influenced by mb_internal_encoding()
--INI--
default_charset=
internal_encoding=
mbstring.internal_encoding=ISO-8859-1
--SKIPIF--
<?php
extension_loaded("mbstring") or die("skip mbstring not available\n");
?>
--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;"