1--TEST--
2mb_ereg() compat test 2
3--SKIPIF--
4<?php
5extension_loaded('mbstring') or die('skip');
6function_exists('mb_ereg') or die("skip mb_ereg() is not available in this build");
7?>
8--FILE--
9<?php
10/* (counterpart: ext/standard/tests/reg/005.phpt) */
11  $a="This is a nice and simple string";
12  echo mb_ereg(".*(is).*(is).*",$a,$registers);
13  echo "\n";
14  echo $registers[0];
15  echo "\n";
16  echo $registers[1];
17  echo "\n";
18  echo $registers[2];
19  echo "\n";
20?>
21--EXPECT--
221
23This is a nice and simple string
24is
25is
26