blob: 26c8a998f8e6b5da36866b86efc66d5aaa3f9a63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--TEST--
mb_regex_set_options()
--SKIPIF--
<?php
extension_loaded('mbstring') or die("skip mbstring not available\n");
function_exists('mb_regex_set_options') or die("skip\n");
?>
--FILE--
<?php
mb_regex_set_options( 'x' );
print mb_ereg_replace(' -', '+', '- - - - -' );
mb_regex_set_options( '' );
print mb_ereg_replace(' -', '+', '- - - - -' );
?>
--EXPECT--
+ + + + +-++++
|