1--TEST--
2mb_ereg_replace()
3--EXTENSIONS--
4mbstring
5--SKIPIF--
6<?php
7function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not available in this build");
8?>
9--FILE--
10<?php
11    mb_regex_set_options( '' );
12    print mb_ereg_replace( ' ', '-', 'a b c d e' )."\n";
13    print mb_ereg_replace( '([a-z]+)','[\\1]', 'abc def ghi' );
14?>
15--EXPECT--
16a-b-c-d-e
17[abc] [def] [ghi]
18