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