1--TEST--
2php-users@php.gr.jp #10830
3--SKIPIF--
4<?php
5extension_loaded('mbstring') or die('skip mbstring not available');
6function_exists('mb_ereg') or die("skip mb_ereg() is not available in this build");
7?>
8--FILE--
9<?php
10$a="aaa\n<>";
11
12var_dump( mb_ereg("^[^><]+$",$a) );
13var_dump( ereg("^[^><]+$",$a) );
14?>
15
16--EXPECTF--
17bool(false)
18
19Deprecated: Function ereg() is deprecated in %s on line %d
20bool(false)
21