php-src/ext/ereg/tests/013.phpt
2007-07-15 20:03:16 +00:00

10 lines
224 B
PHP

--TEST--
escapes in replace string
--SKIPIF--
<?php if (unicode_semantics()) die('skip unicode.semantics=on'); ?>
--FILE--
<?php $a="abc123";
echo ereg_replace("123","def\\g\\\\hi\\",$a)?>
--EXPECT--
abcdef\g\\hi\