php-src/ext/mbstring/tests/mb_ereg_replace-compat-13.phpt
2002-11-21 17:36:16 +00:00

15 lines
343 B
PHP

--TEST--
mb_ereg_replace() compat test 13
--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/016.phpt) */
echo mb_ereg_replace('\?',"abc","?123?");
?>
--EXPECT--
abc123abc