1--TEST--
2Test INI mbstring.internal_encoding basic - encoding when valid specified
3--EXTENSIONS--
4mbstring
5--INI--
6mbstring.internal_encoding=ISO-8859-7
7--FILE--
8<?php
9
10echo "*** Testing INI mbstring.internal_encoding : basic functionality ***\n";
11
12echo mb_internal_encoding()."\n";
13echo ini_get('mbstring.internal_encoding')."\n";
14mb_internal_encoding('UTF-8');
15echo mb_internal_encoding()."\n";
16echo ini_get('mbstring.internal_encoding')."\n";
17
18?>
19--EXPECT--
20Deprecated: PHP Startup: Use of mbstring.internal_encoding is deprecated in Unknown on line 0
21*** Testing INI mbstring.internal_encoding : basic functionality ***
22ISO-8859-7
23ISO-8859-7
24UTF-8
25ISO-8859-7
26