php-src/ext/mbstring/tests/mb_ereg_replace-compat-07.phpt
Nikita Popov 39131219e8
Migrate more SKIPIF -> EXTENSIONS (#7139)
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
2021-06-11 12:58:44 +02:00

17 lines
367 B
PHP

--TEST--
mb_ereg_replace() compat test 7
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not available in this build");
?>
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/010.phpt) */
$a="abc122222222223";
echo mb_ereg_replace("1(2*)3","\\1def\\1",$a);
?>
--EXPECT--
abc2222222222def2222222222