php-src/ext/mbstring/tests/mb_ereg_replace-compat-08.phpt
Moriyoshi Koizumi b62afe783d %s/SKIP/skip/g
2002-11-15 15:34:57 +00:00

16 lines
362 B
PHP

--TEST--
mb_ereg_replace() compat test 8
--SKIPIF--
<?php
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not available in this build");
?>
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/011.phpt) */
$a="abc123";
echo mb_ereg_replace("123","def\\0ghi",$a);
?>
--EXPECT--
abcdef123ghi