summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/mb_regex_set_options.phpt
blob: ec1f3910e2ccead1a4275adb78c44ed71ab549f3 (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 include('skipif.inc'); ?>
function_exists('mb_regex_set_options') or die("SKIP");
--POST--
--GET--
--FILE--
<?php
	mb_regex_set_options( 'x' );
	print mb_ereg_replace(' -', '+', '- - - - -' );

	mb_regex_set_options( '' );
	print mb_ereg_replace(' -', '+', '- - - - -' );
?>

--EXPECT--
+ + + + +-++++