php-src/ext/mbstring/tests/mb_ereg_replace-compat-04.phpt
2002-10-30 07:53:15 +00:00

13 lines
296 B
PHP

--TEST--
mb_ereg_replace() compat test 4
--SKIPIF--
extension_loaded('mbstring') or die('skip');
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/006.phpt) */
$a="This is a nice and simple string";
echo mb_ereg_replace("^This","That",$a);
?>
--EXPECT--
That is a nice and simple string