1--TEST--
2mb_ereg_replace() compat test 5
3--SKIPIF--
4<?php
5extension_loaded('mbstring') or die('skip');
6function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not available in this build");
7?>
8--FILE--
9<?php
10/* (counterpart: ext/standard/tests/reg/007.phpt) */
11  $a="abcd";
12  $b=mb_ereg_replace("abcd","",$a);
13  echo "strlen(\$b)=".strlen($b);
14?>
15--EXPECT--
16strlen($b)=0
17