php-src/ext/mbstring/tests/mb_regex_set_options.phpt
2002-10-21 19:19:05 +00:00

19 lines
352 B
PHP

--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--
+ + + + +-++++