mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
10 lines
224 B
PHP
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\
|