1--TEST--
2php-dev@php.gr.jp #884 (1)
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
11set_time_limit(2);
12var_dump(preg_replace("/.*/", "b", "a"));
13var_dump(mb_ereg_replace(".*", "b", "a"));
14?>
15--EXPECT--
16string(2) "bb"
17string(2) "bb"
18