1--TEST--
2Test INI mbstring.internal_encoding basic - encoding when valid specified
3--SKIPIF--
4<?php
5extension_loaded('mbstring') or die('skip');
6function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
7?>
8--INI--
9mbstring.internal_encoding=ISO-8859-7
10--FILE--
11<?php
12
13echo "*** Testing INI mbstring.internal_encoding : basic functionality ***\n";
14
15echo mb_internal_encoding()."\n";
16echo ini_get('mbstring.internal_encoding')."\n";
17mb_internal_encoding('UTF-8');
18echo mb_internal_encoding()."\n";
19echo ini_get('mbstring.internal_encoding')."\n";
20
21?>
22===DONE===
23--EXPECT--
24*** Testing INI mbstring.internal_encoding : basic functionality ***
25ISO-8859-7
26ISO-8859-7
27UTF-8
28ISO-8859-7
29===DONE===
30