1--TEST--
2Test mb_internal_encoding() function : basic functionality
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7/*
8 * Test basic functionality of mb_internal_encoding
9 */
10
11echo "*** Testing mb_internal_encoding() : basic functionality ***\n";
12
13var_dump(mb_internal_encoding());   //default internal encoding
14
15var_dump(mb_internal_encoding('UTF-8'));    //change internal encoding to UTF-8
16
17var_dump(mb_internal_encoding());    //check internal encoding is now set to UTF-8
18
19
20echo "Done";
21?>
22--EXPECTF--
23*** Testing mb_internal_encoding() : basic functionality ***
24string(%d) "%s"
25bool(true)
26string(5) "UTF-8"
27Done
28