1--TEST--
2Test mb_regex_encoding() function : basic functionality
3--EXTENSIONS--
4mbstring
5--SKIPIF--
6<?php
7function_exists('mb_regex_encoding') or die("skip mb_regex_encoding() is not available in this build");
8?>
9--FILE--
10<?php
11/*
12 * Test Basic functionality of mb_regex_encoding
13 */
14
15echo "*** Testing mb_regex_encoding() : basic functionality ***\n";
16
17var_dump(mb_regex_encoding());
18
19var_dump(mb_regex_encoding('UTF-8'));
20
21var_dump(mb_regex_encoding());
22
23
24echo "Done";
25?>
26--EXPECTF--
27*** Testing mb_regex_encoding() : basic functionality ***
28string(%d) "%s"
29bool(true)
30string(5) "UTF-8"
31Done
32