Annotation of embedaddon/php/ext/mbstring/tests/mb_ereg_replace-compat-07.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: mb_ereg_replace() compat test 7
! 3: --SKIPIF--
! 4: <?php
! 5: extension_loaded('mbstring') or die('skip');
! 6: function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not available in this build");
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10: /* (counterpart: ext/standard/tests/reg/010.phpt) */
! 11: $a="abc122222222223";
! 12: echo mb_ereg_replace("1(2*)3","\\1def\\1",$a);
! 13: ?>
! 14: --EXPECT--
! 15: abc2222222222def2222222222
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>