1--TEST--
2mb_ereg_replace() compat test 5
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/* (counterpart: ext/standard/tests/reg/007.phpt) */
12  $a="abcd";
13  $b=mb_ereg_replace("abcd","",$a);
14  echo "strlen(\$b)=".strlen($b);
15?>
16--EXPECT--
17strlen($b)=0
18